You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we first parse the whole file and find the suitable range to format, and reparse the text in range, but we lost context eg yield expression become top level (issue).
I believe correct solution should be,
parse whole file
find the range node
start print from the range node (instead of root node)
add text around range node
The text was updated successfully, but these errors were encountered:
Currently, we first parse the whole file and find the suitable range to format, and reparse the text in range, but we lost context eg
yield
expression become top level (issue).I believe correct solution should be,
The text was updated successfully, but these errors were encountered: