10801080 "command" : " python.datascience.insertCellBelowPosition" ,
10811081 "title" : " %python.command.python.datascience.insertCellBelowPosition.title%" ,
10821082 "category" : " Python" ,
1083- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1083+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
10841084 },
10851085 {
10861086 "command" : " python.datascience.insertCellBelow" ,
10871087 "title" : " %python.command.python.datascience.insertCellBelow.title%" ,
10881088 "category" : " Python" ,
1089- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1089+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
10901090 },
10911091 {
10921092 "command" : " python.datascience.insertCellAbove" ,
10931093 "title" : " %python.command.python.datascience.insertCellAbove.title%" ,
10941094 "category" : " Python" ,
1095- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1095+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
10961096 },
10971097 {
10981098 "command" : " python.datascience.deleteCells" ,
10991099 "title" : " %python.command.python.datascience.deleteCells.title%" ,
11001100 "category" : " Python" ,
1101- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1101+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
11021102 },
11031103 {
11041104 "command" : " python.datascience.selectCell" ,
11051105 "title" : " %python.command.python.datascience.selectCell.title%" ,
11061106 "category" : " Python" ,
1107- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1107+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
11081108 },
11091109 {
11101110 "command" : " python.datascience.selectCellContents" ,
11111111 "title" : " %python.command.python.datascience.selectCellContents.title%" ,
11121112 "category" : " Python" ,
1113- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1113+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
11141114 },
11151115 {
11161116 "command" : " python.datascience.extendSelectionByCellAbove" ,
11171117 "title" : " %python.command.python.datascience.extendSelectionByCellAbove.title%" ,
11181118 "category" : " Python" ,
1119- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1119+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
11201120 },
11211121 {
11221122 "command" : " python.datascience.extendSelectionByCellBelow" ,
11231123 "title" : " %python.command.python.datascience.extendSelectionByCellBelow.title%" ,
11241124 "category" : " Python" ,
1125- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1125+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
11261126 },
11271127 {
11281128 "command" : " python.datascience.moveCellsUp" ,
11291129 "title" : " %python.command.python.datascience.moveCellsUp.title%" ,
11301130 "category" : " Python" ,
1131- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1131+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
11321132 },
11331133 {
11341134 "command" : " python.datascience.moveCellsDown" ,
11351135 "title" : " %python.command.python.datascience.moveCellsDown.title%" ,
11361136 "category" : " Python" ,
1137- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1137+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
11381138 },
11391139 {
11401140 "command" : " python.datascience.changeCellToMarkdown" ,
11411141 "title" : " %python.command.python.datascience.changeCellToMarkdown.title%" ,
11421142 "category" : " Python" ,
1143- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1143+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
11441144 },
11451145 {
11461146 "command" : " python.datascience.changeCellToCode" ,
11471147 "title" : " %python.command.python.datascience.changeCellToCode.title%" ,
11481148 "category" : " Python" ,
1149- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1149+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
11501150 },
11511151 {
11521152 "command" : " python.datascience.runcurrentcell" ,
36853685 "publisherDisplayName" : " Microsoft" ,
36863686 "publisherId" : " 998b010b-e2af-44a5-a6cd-0b5fd3b9b6f8"
36873687 }
3688- }
3688+ }
0 commit comments