Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 709 Bytes

code_lens.md

File metadata and controls

13 lines (9 loc) · 709 Bytes

Code Lens Support

CodeLens is a feature that displays additional information about the code, such as suggestions, references, or action buttons, directly in the editor without modifying the code itself.

For example, in VS Code, you might see something like "Used 3 times" above a function, with an option to click and view references.

In our case, for the Sysdig LSP, CodeLens allows executing actions that can also be performed with Code Actions (like scanning the base image), but in a more graphical way by simply clicking. This enhances usability by providing direct interaction within the editor.

Sysdig LSP code lens for base image scanning