Skip to content

Commit 4549d12

Browse files
committed
added clause for menu
1 parent df96334 commit 4549d12

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,14 @@
7070
{
7171
"command": "python.refactorExtractVariable",
7272
"title": "Refactor: Extract Variable",
73-
"group": "Refactor"
73+
"group": "Refactor",
74+
"when": "editorHasSelection"
7475
},
7576
{
7677
"command": "python.refactorExtractMethod",
7778
"title": "Refactor: Extract Method",
78-
"group": "Refactor"
79+
"group": "Refactor",
80+
"when": "editorHasSelection"
7981
}
8082
]
8183
},

0 commit comments

Comments
 (0)