#**How to Enable CodeLens in VS Code**

1 messages · Page 1 of 1 (latest)

wheat hare
#

Thread for VSCode Stuff

#

How to Enable CodeLens in VS Code

  1. Open VS Code Settings

    • Press Ctrl + Shift + P
    • Type "Preferences: Open Settings (UI)" and select it.
  2. Search for "CodeLens"

    • Find "Editor › CodeLens"
    • Toggle it ON
  3. Enable CodeLens for C# (OmniSharp Settings)

    • Open settings.json (Ctrl + Shift + P → **Preferences: Open Settings (JSON)`)
    • Add or modify these settings:
   {
     "editor.codeLens": true,
     "omnisharp.enableRoslynAnalyzers": true,
     "omnisharp.enableEditorConfigSupport": true
   }
  1. 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

blazing siren
#

I believe I already have those all enabled. Please double check when you have time.

wheat hare
#

will do.. want me to ping u for follow-up?