You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I create this issue according my skills with Eclipse CodeMining which does the same thing than CodeLens but gives too the capability to draw content inside the line content (like color information used by CSS and JSON LS)
Takes a sample with Eclipse CodeMining:
here a CodeMining for JUnit: it is drawn by a line header annotation with an icon and text
here a CodeMining for parameter names for Java method: it is drawn by a line content annotation:
In other words I tell me if LSP could mix CodeLens and ColorInformation inside the same concept that it is called Inlined Annotation in Eclipse Platform.
Today LSP provides capabilities to support:
code lens which is drawn before the line text (line header annotation).
color information which is drawn in the line text (line content annotation)
IMHO, I think we could improve
CodeLens to specify an icon (or emoji)
Having a more generic concept than ColorInformation to draw anything in the line content annotation.
We could have an inlined annotation composted by:
text
icon (image name, or rgb color)
type : header (annotation drawn in the line header) or content (annotation drawn in the line content)
Here Inlined annotation benefit:
havejust one concept to manage CodeLens and ColorInformation both
improve CodeLens to draw an icon before the text
gives the capability to draw text/icon inside the line content (support for ColorInformation and other features like parameter names for Java method)
The text was updated successfully, but these errors were encountered:
I create this issue according my skills with
Eclipse CodeMining
which does the same thing than CodeLens but gives too the capability todraw content inside the line content
(like color information used by CSS and JSON LS)Takes a sample with Eclipse CodeMining:
In other words I tell me if LSP could mix CodeLens and ColorInformation inside the same concept that it is called
Inlined Annotation
in Eclipse Platform.Today LSP provides capabilities to support:
IMHO, I think we could improve
We could have an
inlined annotation
composted by:header
(annotation drawn in the line header) orcontent
(annotation drawn in the line content)Here Inlined annotation benefit:
just one concept to manage CodeLens and ColorInformation
bothCodeLens to draw an icon
before the textthe capability to draw text/icon inside the line content
(support for ColorInformation and other features like parameter names for Java method)The text was updated successfully, but these errors were encountered: