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
It would be awesome if recast inferred options.useTabs from the file contents, just like it does with options.tabWidth right now.
Right now, in a tab-indented file with useTabs not set to true, newly injected statements will be space-indented (using, I believe, a 4-space tab width by default). It would be great if useTabs were inferred as being true for newly injected statements in that case.
The text was updated successfully, but these errors were encountered:
@benjamn I've opened PR #186 as a first attempt to solve the problem, but something about the recursive print is proving to be too much for me. Any chance you could take a look and let me know if I'm missing something obvious (and/or if my approach is Just Plain Wrong)?
It would be awesome if recast inferred
options.useTabs
from the file contents, just like it does withoptions.tabWidth
right now.Right now, in a tab-indented file with
useTabs
not set to true, newly injected statements will be space-indented (using, I believe, a 4-space tab width by default). It would be great ifuseTabs
were inferred as being true for newly injected statements in that case.The text was updated successfully, but these errors were encountered: