SpartanJ / ecode

Lightweight multi-platform code editor designed for modern hardware with a focus on responsiveness and performance.
MIT License
940 stars 13 forks source link

Support modern C++ syntax for integer literals #297

Open Curculigo opened 4 months ago

Curculigo commented 4 months ago

It will always treat ' as the beginning or ending of character literals.

https://en.cppreference.com/w/cpp/language/integer_literal

SpartanJ commented 4 months ago

This is currently not possible to implement safely. But... with LSP semantic highlighting enabled, LSP could potentially implement the correct semantic highlighting but clangd does not support this at least for the moment.