You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cherry-pick: Improve ql-mcp VS Code extension UX (#230)
Cherry-picked from main (36631d9) with conflicts resolved:
- extensions/vscode/test/bridge/environment-builder.test.ts: accepted
scanExcludeDirs tests, dropped ENABLE_ANNOTATION_TOOLS preservation
test (annotation tools are always enabled on next)
- server/dist/*: accepted next version (will rebuild)
Copy file name to clipboardExpand all lines: extensions/vscode/package.json
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -118,6 +118,14 @@
118
118
"default": ".codeql/ql-mcp",
119
119
"markdownDescription": "Workspace-relative path for the ql-mcp scratch directory used for temporary files (query logs, external predicates, etc). The `.codeql/` parent is shared with other CodeQL CLI commands like `codeql pack bundle`. Set to an absolute path to override workspace-relative resolution."
120
120
},
121
+
"codeql-mcp.scanExcludeDirs": {
122
+
"type": "array",
123
+
"items": {
124
+
"type": "string"
125
+
},
126
+
"default": [],
127
+
"markdownDescription": "Additional directory names to exclude from workspace scanning (prompt completions, QL code search). Entries are merged with the built-in defaults (`.git`, `node_modules`, `dist`, etc.). Prefix an entry with `!` to remove a default (e.g., `!build` re-includes the `build` directory). Passed to the server as `CODEQL_MCP_SCAN_EXCLUDE_DIRS`."
0 commit comments