Replies: 2 comments 4 replies
-
Hey @wss29, the recommended way of adding code lenses to Theia is by writing a VSCode extension that provides the feature and including that into your Theia App as a builtin extension. Aside from that, you're also free to dig through our own implementation of this, but I wouldn't recommend it, since the internal Monaco/Theia API is not stable, while the VSCode API will always be stable. |
Beta Was this translation helpful? Give feedback.
-
Hi msujew, |
Beta Was this translation helpful? Give feedback.
-
hi,


1. I use monaco editor to add some annotation to c++ method out of theia, for example use follow code to add an "line comment " to c++ method
2. now I want to implement above in my theia extension, but I do not find function like registerCodeLensProvider to in theia's monaca editor, I am not familiar it. Could any one give some idea about how to implement it in theia monaco editor
Beta Was this translation helpful? Give feedback.
All reactions