Jaffe2718 / Command-Debug-DevKit

This project is written for debugging Minecraft command.
https://modrinth.com/mod/command-debug-service/
MIT License
13 stars 1 forks source link

Optimize Custom Syntax Highlighting Color Settings #4

Open Jaffe2718 opened 1 year ago

Jaffe2718 commented 1 year ago

After the basic implementation of custom syntax highlighting color settings, the optimization problem of custom syntax highlighting settings will be addressed here. This progress depends on the update of JFlex's regular expression function, which requires JFlex to support looking-ahead matching of regular expressions, making it easy to distinguish NBT_ KEY and NAMESPACE.

Ayfri commented 1 year ago

JetBrains grammar-kit plugin has been updated, maybe there are improvements that you can make ?

Jaffe2718 commented 1 year ago

It seem that JFlex 1.9.2 still not support looking-ahead matching of regular expressions. And my tool to generate JFlex Lexer is depends on the Grammar-kit | IDEA Plugin, not the Gradle tool. However, I will always wait for the update of JFlex