It exists today 2 bugs for implementing CodeLens inside Eclipse: bug 508458 and 501546.
Today Javassist is required because there are 2 problems in Eclipse Platform:
- bug with line numbers. See bug 481968
- drawing CodeLens update line spacing of the line. Today StyledTExt doesn't provide this feature. See bug 522020
This project is a POC to study how to implement CodeLens with Eclipse StyledText
Here a demo with
TypeScript
with typescript.java :
Java
withJDT Java Editor
:
Java
with lsp4e Java Editor which uses Java Language Server of JDT :
Here a demo with the current work with StyledText where zone are added: