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
Instead of leaving it up to the user to tabify or untabify the entire document in the case of inconsistencies, the add-on could regard the current editor preference and just "correct" indentation.
Background: We use tabs for indenting almost everything. (That's what they're made for.) But some files don't support this, like YAML. If you're used to hitting the "tabify" button, the YAML file will be broken. The editor can be set up correctly using EditorConfig or other local IDE configuration, but this add-on doesn't care about all the automatisms we now have.
Also, when working in other projects that request a different indentation style, this can be automatically provided by a .editorconfig file in the repository, but this add-on still wants me to decide manually.
The text was updated successfully, but these errors were encountered:
I've implemented this in my fork, kind of. The only thing that happens is that the Tabify or Untabify button is set to bold font, depending on the current editor preference. This seems alright for me now. It would be easy to actually add a "Correct as default" button, it just takes more space.
Instead of leaving it up to the user to tabify or untabify the entire document in the case of inconsistencies, the add-on could regard the current editor preference and just "correct" indentation.
Background: We use tabs for indenting almost everything. (That's what they're made for.) But some files don't support this, like YAML. If you're used to hitting the "tabify" button, the YAML file will be broken. The editor can be set up correctly using EditorConfig or other local IDE configuration, but this add-on doesn't care about all the automatisms we now have.
Also, when working in other projects that request a different indentation style, this can be automatically provided by a .editorconfig file in the repository, but this add-on still wants me to decide manually.
The text was updated successfully, but these errors were encountered: