mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
Only show Copy vscode.dev link when line numbers are enabled (#176153)
* Only show `Copy vscode.dev link` when line numbers are enabled * Fix line endings
This commit is contained in:
@@ -110,7 +110,12 @@
|
||||
"editor/lineNumber/context": [
|
||||
{
|
||||
"command": "github.copyVscodeDevLink",
|
||||
"when": "github.hasGitHubRepo && resourceScheme != untitled",
|
||||
"when": "github.hasGitHubRepo && resourceScheme != untitled && activeEditor == workbench.editors.files.textFileEditor && config.editor.lineNumbers == on",
|
||||
"group": "1_cutcopypaste@2"
|
||||
},
|
||||
{
|
||||
"command": "github.copyVscodeDevLink",
|
||||
"when": "github.hasGitHubRepo && resourceScheme != untitled && activeEditor == workbench.editor.notebook && notebookCellLineNumbers == on",
|
||||
"group": "1_cutcopypaste@2"
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user