#**How to Enable CodeLens in VS Code**
1 messages · Page 1 of 1 (latest)
Thread for VSCode Stuff
How to Enable CodeLens in VS Code
-
Open VS Code Settings
- Press
Ctrl + Shift + P - Type "Preferences: Open Settings (UI)" and select it.
- Press
-
Search for "CodeLens"
- Find "Editor › CodeLens"
- Toggle it ON
-
Enable CodeLens for C# (OmniSharp Settings)
- Open settings.json (
Ctrl + Shift + P→ **Preferences: Open Settings (JSON)`) - Add or modify these settings:
- Open settings.json (
{
"editor.codeLens": true,
"omnisharp.enableRoslynAnalyzers": true,
"omnisharp.enableEditorConfigSupport": true
}
- Customize CodeLens Appearance (optional)
- If you want to customize how CodeLens looks, you can change the colors in Workbench Color Customizations:
{
"workbench.colorCustomizations": {
"editorCodeLens.foreground": "#FF8800"
}
}
heres the bulk of the instructions i found..
I need to re-install vscode to check if it works perfectly.. but i think it came from stackoverflow.. i trust those guys
if you really need me to check first i can. but it'll be a min
I believe I already have those all enabled. Please double check when you have time.
will do.. want me to ping u for follow-up?