chouzz / vscode-better-align

Better vertical alignment with/without selection in any language.
https://marketplace.visualstudio.com/items?itemName=Chouzz.vscode-better-align&ssr=false#overview
Apache License 2.0
39 stars 4 forks source link

Reimplement token parser to support language specify operator #108

Open chouzz opened 1 year ago

chouzz commented 1 year ago

Currently, implementation of vscode-better-align is unable to override language specified operator, it need to add an operator by hand, also, some operator in different languages has different meanings. For example, # is the comment in python, but // is the comment in c/c++. It's necessary to reimplement token parse to support more cases.

dimateos commented 1 year ago

Looking forward to this. Being able to align python comments would be so nice.

Thanks for the extension!