Skip to content

Conversation

@YingboMa
Copy link
Contributor

No description provided.

iter += 1
end
return formatted_text
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That feels quite hacky? Also, not clear how this would interact with a potential partial formatting in an IDE? Wouldn't it make sense to require that a second call to format_text is always a no-op?

Comment on lines +558 to +559
# We need to iterate to a fixpoint because the result of short to long
# form isn't properly formatted
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we should just make this part work properly then we wouldn't have to do this

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@YingboMa can you give a minimal example of this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok made an issue to track it, since this is function is only applicable to SciMLStyle this is fine for now.

@domluna domluna merged commit edfa79b into domluna:master May 25, 2022
@YingboMa YingboMa deleted the myb/scimlstyle branch May 25, 2022 00:25
@t-bltg t-bltg mentioned this pull request Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants