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
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -178,7 +178,9 @@ To set whether to preserve focus on code editor after code run is triggered (def
178
178
179
179
`code-runner.ignoreSelection`: Whether to ignore selection to always run entire file. (Default is **false**)
180
180
181
-
`code-runner.showRunIconInEditorTitleMenu`: Whether to show 'Run Code' icon in editor title menu. (Default is **true**)
181
+
`code-runner.onlyShowRunIconIfExecutorExists`: Whether to only show 'Run Code' icon in editor title menu if the current file can be ran. If false, the icon will show for every file. (Default is **true**)
182
+
183
+
`code-runner.showRunIconInEditorTitleMenu`: Whether to show 'Run Code' icon in editor title menu. If false, overrides `code-runner.onlyShowRunIconIfExecutorExists` setting. (Default is **true**)
182
184
183
185
`code-runner.showRunCommandInEditorContextMenu`: Whether to show 'Run Code' command in editor context menu. (Default is **true**)
"description": "Whether to ignore selection to always run entire file.",
325
325
"scope": "resource"
326
326
},
327
+
"code-runner.onlyShowRunIconIfExecutorExists": {
328
+
"type": "boolean",
329
+
"default": true,
330
+
"description": "Whether to only show 'Run Code' icon in editor title menu if the current file can be ran. If false, the icon will show for every file.",
331
+
"scope": "resource"
332
+
},
327
333
"code-runner.showRunIconInEditorTitleMenu": {
328
334
"type": "boolean",
329
335
"default": true,
330
-
"description": "Whether to show 'Run Code' icon in editor title menu.",
336
+
"description": "Whether to show 'Run Code' icon in editor title menu. If false, overrides `code-runner.onlyShowRunIconIfExecutorExists` setting.",
0 commit comments