-
Notifications
You must be signed in to change notification settings - Fork 238
Closed as not planned
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Ruby LSP Information
VS Code Version
1.101.2
Ruby LSP Extension Version
0.9.28
Ruby LSP Server Version
0.24.2
Ruby LSP Add-ons
- Standard Ruby
- Ruby LSP Rails
- RuboCop
Ruby Version
3.3.4
Ruby Version Manager
asdf
Installed Extensions
Click to expand
- EditorConfig (0.17.4)
- auto-rename-tag (0.1.10)
- black-formatter (2025.2.0)
- change-case (1.0.0)
- code-spell-checker (4.0.47)
- color-highlight (2.8.0)
- copilot (1.338.0)
- copilot-chat (0.28.5)
- ctagsx (1.2.1)
- debugpy (2025.8.0)
- even-better-toml (0.21.2)
- fuzzy-ruby-server (1.0.1)
- git-tree-compare (1.17.0)
- gitlens (17.2.1)
- haml (1.4.1)
- history-in-sublime-merge (1.2.18)
- jupyter (2024.9.1)
- lorem-ipsum (1.3.1)
- partial-diff (1.4.3)
- python (2025.0.0)
- rails-db-schema (0.2.9)
- rainbow-csv (3.17.0)
- remote-repositories (0.42.0)
- remotehub (0.64.0)
- ruby-lsp (0.9.28)
- svg-preview (2.8.3)
- terraform (2.34.5)
- vscode-filesize (3.2.2)
- vscode-fileutils (3.10.3)
- vscode-makefile-outliner (0.2.0)
- vscode-pgsql (1.6.0)
- vscode-pull-request-github (0.112.0)
- vscode-pylance (2025.2.1)
- vscode-rubocop (0.10.0)
- vscode-ruby (0.28.0)
- vscode-standard (2.1.3)
- vscode-standard-ruby (0.0.16)
- vsliveshare (1.0.5948)
Ruby LSP Settings
Click to expand
Workspace
{}User
{
"enabledFeatures": {
"codeActions": true,
"diagnostics": false,
"documentHighlights": true,
"documentLink": true,
"documentSymbols": true,
"foldingRanges": true,
"formatting": true,
"hover": true,
"inlayHint": true,
"onTypeFormatting": true,
"selectionRanges": true,
"semanticHighlighting": true,
"completion": true,
"codeLens": true,
"definition": true,
"workspaceSymbol": true,
"signatureHelp": true,
"typeHierarchy": true
},
"featuresConfiguration": {
"codeLens": {
"enableTestCodeLens": false
}
},
"addonSettings": {},
"rubyVersionManager": {
"identifier": "auto"
},
"customRubyCommand": "",
"formatter": "auto",
"linters": null,
"bundleGemfile": "",
"testTimeout": 30,
"branch": "",
"pullDiagnosticsOn": "both",
"useBundlerCompose": false,
"bypassTypechecker": false,
"rubyExecutablePath": "",
"indexing": {},
"erbSupport": true,
"featureFlags": {
"all": true
},
"sigOpacityLevel": "1"
}Reproduction steps
- Start the Ruby LSP using either VS Code or Cursor
- Open a spec file
- See test code lens "Run", "Run in terminal", "Debug"
Since I have enableTestCodeLens disabled as per the settings above, I would expect to not see these lens.
Reference: https://github.com/Shopify/ruby-lsp/blob/main/vscode/package.json#L353C18-L353C36
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working