Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unavailable commands from the command palette #2403

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
103 changes: 81 additions & 22 deletions clients/cobol-lsp-vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,70 +43,129 @@
{
"command": "cobol-lsp.cpy-manager.fetch-copybook",
"category": "COBOL",
"title": "Fetch Copybook",
"when": "!isWeb"
"title": "Fetch Copybook"
},
{
"command": "cobol-lsp.cpy-manager.goto-settings",
"category": "COBOL",
"title": "Open Copybook Location Settings",
"when": "!isWeb"
"title": "Open Copybook Location Settings"
},
{
"command": "cobol-lsp.serverRuntime.goto-settings",
"category": "COBOL",
"title": "Open Server Runtime Settings",
"when": "!isWeb"
"title": "Open Server Runtime Settings"
},
{
"command": "cobol-lsp.dialects.goto-settings",
"category": "COBOL",
"title": "Open Dialect Settings",
"when": "!isWeb"
"title": "Open Dialect Settings"
},
{
"command": "cobol-lsp.commentLine.toggle",
"category": "COBOL",
"title": "Toggle COBOL Line Comment",
"when": "!isWeb"
"title": "Toggle COBOL Line Comment"
},
{
"command": "cobol-lsp.commentLine.comment",
"category": "COBOL",
"title": "Add COBOL Line Comment",
"when": "!isWeb"
"title": "Add COBOL Line Comment"
},
{
"command": "cobol-lsp.commentLine.uncomment",
"category": "COBOL",
"title": "Remove COBOL Line Comment",
"when": "!isWeb"
"title": "Remove COBOL Line Comment"
},
{
"command": "cobol-lsp.clear.downloaded.copybooks",
"category": "COBOL",
"title": "Clear Downloaded Copybooks",
"when": "!isWeb"
"title": "Clear Downloaded Copybooks"
},
{
"command": "cobol-lsp.analysis.runAnalysis",
"category": "COBOL",
"title": "Run Analysis in CLI",
"when": "!isWeb"
"title": "Run Analysis in CLI"
},
{
"command": "cobol-lsp.snippets.insertSnippets",
"title": "Insert COBOL Snippet",
"category": "Snippets",
"when": "!isWeb"
"category": "Snippets"
},
{
"command": "cobol-lsp.open.copybook.internalfolder",
"title": "Open Copybooks Internal Folder",
"category": "COBOL",
"when": "!isWeb"
"category": "COBOL"
}
],
"menus": {
"commandPalette": [
{
"command": "cobol-lsp.cpy-manager.fetch-copybook",
"category": "COBOL",
"title": "Fetch Copybook",
"when": "!isWeb"
},
{
"command": "cobol-lsp.cpy-manager.goto-settings",
"category": "COBOL",
"title": "Open Copybook Location Settings",
"when": "!isWeb"
},
{
"command": "cobol-lsp.serverRuntime.goto-settings",
"category": "COBOL",
"title": "Open Server Runtime Settings",
"when": "!isWeb"
},
{
"command": "cobol-lsp.dialects.goto-settings",
"category": "COBOL",
"title": "Open Dialect Settings",
"when": "!isWeb"
},
{
"command": "cobol-lsp.commentLine.toggle",
"category": "COBOL",
"title": "Toggle COBOL Line Comment",
"when": "!isWeb"
},
{
"command": "cobol-lsp.commentLine.comment",
"category": "COBOL",
"title": "Add COBOL Line Comment",
"when": "!isWeb"
},
{
"command": "cobol-lsp.commentLine.uncomment",
"category": "COBOL",
"title": "Remove COBOL Line Comment",
"when": "!isWeb"
},
{
"command": "cobol-lsp.clear.downloaded.copybooks",
"category": "COBOL",
"title": "Clear Downloaded Copybooks",
"when": "!isWeb"
},
{
"command": "cobol-lsp.analysis.runAnalysis",
"category": "COBOL",
"title": "Run Analysis in CLI",
"when": "!isWeb"
},
{
"command": "cobol-lsp.snippets.insertSnippets",
"title": "Insert COBOL Snippet",
"category": "Snippets",
"when": "!isWeb"
},
{
"command": "cobol-lsp.open.copybook.internalfolder",
"title": "Open Copybooks Internal Folder",
"category": "COBOL",
"when": "!isWeb"
}
]
},
"languages": [
{
"id": "cobol",
Expand Down
Loading