1080
1080
"command" : " python.datascience.insertCellBelowPosition" ,
1081
1081
"title" : " %python.command.python.datascience.insertCellBelowPosition.title%" ,
1082
1082
"category" : " Python" ,
1083
- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1083
+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
1084
1084
},
1085
1085
{
1086
1086
"command" : " python.datascience.insertCellBelow" ,
1087
1087
"title" : " %python.command.python.datascience.insertCellBelow.title%" ,
1088
1088
"category" : " Python" ,
1089
- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1089
+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
1090
1090
},
1091
1091
{
1092
1092
"command" : " python.datascience.insertCellAbove" ,
1093
1093
"title" : " %python.command.python.datascience.insertCellAbove.title%" ,
1094
1094
"category" : " Python" ,
1095
- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1095
+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
1096
1096
},
1097
1097
{
1098
1098
"command" : " python.datascience.deleteCells" ,
1099
1099
"title" : " %python.command.python.datascience.deleteCells.title%" ,
1100
1100
"category" : " Python" ,
1101
- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1101
+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
1102
1102
},
1103
1103
{
1104
1104
"command" : " python.datascience.selectCell" ,
1105
1105
"title" : " %python.command.python.datascience.selectCell.title%" ,
1106
1106
"category" : " Python" ,
1107
- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1107
+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
1108
1108
},
1109
1109
{
1110
1110
"command" : " python.datascience.selectCellContents" ,
1111
1111
"title" : " %python.command.python.datascience.selectCellContents.title%" ,
1112
1112
"category" : " Python" ,
1113
- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1113
+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
1114
1114
},
1115
1115
{
1116
1116
"command" : " python.datascience.extendSelectionByCellAbove" ,
1117
1117
"title" : " %python.command.python.datascience.extendSelectionByCellAbove.title%" ,
1118
1118
"category" : " Python" ,
1119
- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1119
+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
1120
1120
},
1121
1121
{
1122
1122
"command" : " python.datascience.extendSelectionByCellBelow" ,
1123
1123
"title" : " %python.command.python.datascience.extendSelectionByCellBelow.title%" ,
1124
1124
"category" : " Python" ,
1125
- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1125
+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
1126
1126
},
1127
1127
{
1128
1128
"command" : " python.datascience.moveCellsUp" ,
1129
1129
"title" : " %python.command.python.datascience.moveCellsUp.title%" ,
1130
1130
"category" : " Python" ,
1131
- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1131
+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
1132
1132
},
1133
1133
{
1134
1134
"command" : " python.datascience.moveCellsDown" ,
1135
1135
"title" : " %python.command.python.datascience.moveCellsDown.title%" ,
1136
1136
"category" : " Python" ,
1137
- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1137
+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
1138
1138
},
1139
1139
{
1140
1140
"command" : " python.datascience.changeCellToMarkdown" ,
1141
1141
"title" : " %python.command.python.datascience.changeCellToMarkdown.title%" ,
1142
1142
"category" : " Python" ,
1143
- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1143
+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
1144
1144
},
1145
1145
{
1146
1146
"command" : " python.datascience.changeCellToCode" ,
1147
1147
"title" : " %python.command.python.datascience.changeCellToCode.title%" ,
1148
1148
"category" : " Python" ,
1149
- "when" : " python.datascience.hascodecells && editorFocus && editorLangId == python && python .datascience.featureenabled"
1149
+ "when" : " python.datascience.hascodecells && python.datascience.featureenabled && !notebookEditorFocused "
1150
1150
},
1151
1151
{
1152
1152
"command" : " python.datascience.runcurrentcell" ,
3685
3685
"publisherDisplayName" : " Microsoft" ,
3686
3686
"publisherId" : " 998b010b-e2af-44a5-a6cd-0b5fd3b9b6f8"
3687
3687
}
3688
- }
3688
+ }
0 commit comments