eclipse-tm4e / tm4e

TextMate support in Eclipse IDE
https://projects.eclipse.org/projects/technology.tm4e
Eclipse Public License 2.0
93 stars 56 forks source link

feat: parse/display config of indentation rules and colorized bracket pairs #675

Closed sebthom closed 9 months ago

sebthom commented 9 months ago

This PR adds parsing of indentation rules and colorized bracket pairs from language-configuration.json and displays them via Windows > Preferences > Textmate >Language Configuration. This PR also changes the horizontal tabs to a vertical navigation list.

Before: image

After: image

mickaelistria commented 9 months ago

By colorized bracket pairs, do you mean some "rainbow brackets"? If so, it's been a long requested feature, probably worth a screenshot and a noteworthy in next SimRel.

sebthom commented 9 months ago

By colorized bracket pairs, do you mean some "rainbow brackets"? If so, it's been a long requested feature, probably worth a screenshot and a noteworthy in next SimRel.

"colorized bracket pairs" is the term used by vscode for "rainbow brackets".

So far I only implemented the parsing of the langcfg json and displaying the config. The config is not used/applied yet. This is the same for the Folding rules and Word Pattern which are currently only displayed for informational use.

My midterm goal is to expose the langcfg to other plugins. currently it is for internal use only

mickaelistria commented 9 months ago

OK, thanks for the explanation.