https://github.com/angelozerr/codelens-eclipse
POC to study how to implement CodeLens with Eclipse StyledText
https://github.com/angelozerr/codelens-eclipse
codelens eclipse styledtext
Last synced: 8 months ago
JSON representation
POC to study how to implement CodeLens with Eclipse StyledText
- Host: GitHub
- URL: https://github.com/angelozerr/codelens-eclipse
- Owner: angelozerr
- License: epl-1.0
- Created: 2017-05-17T20:30:06.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-30T17:26:33.000Z (over 8 years ago)
- Last Synced: 2025-01-31T20:44:03.682Z (over 1 year ago)
- Topics: codelens, eclipse, styledtext
- Language: Java
- Size: 1.38 MB
- Stars: 12
- Watchers: 7
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# codelens-eclipse
[](http://travis-ci.org/angelozerr/codelens-eclipse)
It exists today 2 bugs for implementing CodeLens inside Eclipse: bug [508458](https://bugs.eclipse.org/bugs/show_bug.cgi?id=508458) and [501546](https://bugs.eclipse.org/bugs/show_bug.cgi?id=501546).
Today Javassist is required because there are 2 problems in Eclipse Platform:
* bug with line numbers. See bug [481968](https://bugs.eclipse.org/bugs/show_bug.cgi?id=481968)
* drawing CodeLens update line spacing of the line. Today StyledTExt doesn't provide this feature. See bug [522020](https://bugs.eclipse.org/bugs/show_bug.cgi?id=522020)
This project is a POC to study how to implement CodeLens with Eclipse StyledText
Here a demo with
* `TypeScript` with [typescript.java](https://github.com/angelozerr/typescript.java) :

* `Java` with `JDT Java Editor` :

* `Java` with [lsp4e Java Editor](https://github.com/eclipselabs/language-servers-for-eclipse/tree/master/org.eclipse.lsp4e.java) which uses Java Language Server of JDT :

Here a demo with the current work with StyledText where zone are added:
