Skip to content

Commit 06b62a0

Browse files
authored
Merge pull request #5777 from microsoft/rchiodo/release_merge_2
Merge a number of fixes into the release branch
2 parents 67c38d7 + 3d4f49d commit 06b62a0

File tree

28 files changed

+261
-89
lines changed

28 files changed

+261
-89
lines changed

news/2 Fixes/5067.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Advance to the next cell if cursor is in the current cell and user clicks 'Run Cell'

news/2 Fixes/5386.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix import/export paths to be escaped on windows.

news/2 Fixes/5630.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add support for opening hyperlinks from the interactive window.

news/2 Fixes/5667.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add 'Add empty cell to file' command. Shortcut for having to type '#%%'

news/2 Fixes/5673.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add 'ctrl+enter' as a keyboard shortcut for run current cell (runs without advancing)

news/2 Fixes/5774.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix problem with using up/down arrows in autocomplete.

package-lock.json

Lines changed: 2 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@
9999
"command": "python.datascience.runcurrentcelladvance",
100100
"key": "shift+enter",
101101
"when": "editorFocus && !editorHasSelection && python.datascience.hascodecells && python.datascience.featureenabled"
102+
},
103+
{
104+
"command": "python.datascience.runcurrentcell",
105+
"key": "ctrl+enter",
106+
"when": "editorFocus && !editorHasSelection && python.datascience.hascodecells && python.datascience.featureenabled"
102107
}
103108
],
104109
"commands": [
@@ -428,6 +433,11 @@
428433
"command": "python.datascience.collapseallcells",
429434
"title": "%python.command.python.datascience.collapseallcells.title%",
430435
"category": "Python"
436+
},
437+
{
438+
"command": "python.datascience.addcellbelow",
439+
"title": "%python.command.python.datascience.addcellbelow.title%",
440+
"category": "Python"
431441
}
432442
],
433443
"menus": {
@@ -704,6 +714,12 @@
704714
"command": "python.datascience.runallcellsabove",
705715
"category": "Python",
706716
"when": "config.noExists"
717+
},
718+
{
719+
"command": "python.datascience.addcellbelow",
720+
"title": "%python.command.python.datascience.addcellbelow.title%",
721+
"category": "Python",
722+
"when": "python.datascience.featureenabled"
707723
}
708724
],
709725
"view/title": [
@@ -1280,6 +1296,12 @@
12801296
"description": "Enables code lens for 'cells' in a python file.",
12811297
"scope": "resource"
12821298
},
1299+
"python.dataScience.enableAutoMoveToNextCell": {
1300+
"type": "boolean",
1301+
"default": true,
1302+
"description": "Enables moving to the next cell when clicking on a 'Run Cell' code lens.",
1303+
"scope": "resource"
1304+
},
12831305
"python.disableInstallationCheck": {
12841306
"type": "boolean",
12851307
"default": false,

package.nls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"python.command.python.datascience.restartkernel.title": "Restart IPython Kernel",
5454
"python.command.python.datascience.expandallcells.title": "Expand all Python Interactive cells",
5555
"python.command.python.datascience.collapseallcells.title": "Collapse all Python Interactive cells",
56+
"python.command.python.datascience.addcellbelow.title": "Add empty cell to file",
5657
"python.snippet.launch.standard.label": "Python: Current File",
5758
"python.snippet.launch.module.label": "Python: Module",
5859
"python.snippet.launch.module.default": "enter-your-module-name",

src/client/common/application/commands.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ interface ICommandNameWithoutArgumentTypeMapping {
4949
[DSCommands.ExpandAllCells]: [];
5050
[DSCommands.CollapseAllCells]: [];
5151
[DSCommands.ExportOutputAsNotebook]: [];
52+
[DSCommands.AddCellBelow]: [];
5253
}
5354

5455
/**

0 commit comments

Comments
 (0)