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
* Change the default cell marker * Fix test failures Fix gather to use new comment Fix formatting on code comments from nls * Fix unit test too * Fix gather to replace #%%
Copy file name to clipboardExpand all lines: package.json
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1562,6 +1562,12 @@
1562
1562
"description": "Regular expression used to identify code cells. All code until the next match is considered part of this cell. \nDefaults to '^(#\\s*%%|#\\s*\\<codecell\\>|#\\s*In\\[\\d*?\\]|#\\s*In\\[ \\])' if left blank",
1563
1563
"scope": "resource"
1564
1564
},
1565
+
"python.dataScience.defaultCellMarker": {
1566
+
"type": "string",
1567
+
"default": "# %%",
1568
+
"description": "Cell marker used for delineating a cell in a python file.",
Copy file name to clipboardExpand all lines: package.nls.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -219,7 +219,7 @@
219
219
"DataScience.exportingFormat": "Exporting {0}",
220
220
"DataScience.exportCancel": "Cancel",
221
221
"Common.canceled": "Canceled",
222
-
"DataScience.importChangeDirectoryComment": "#%% Change working directory from the workspace root to the ipynb file location. Turn this addition off with the DataScience.changeDirOnImportExport setting",
222
+
"DataScience.importChangeDirectoryComment": "{0} Change working directory from the workspace root to the ipynb file location. Turn this addition off with the DataScience.changeDirOnImportExport setting",
223
223
"DataScience.exportChangeDirectoryComment": "# Change directory to VSCode workspace root so that relative path loads work correctly. Turn this addition off with the DataScience.changeDirOnImportExport setting",
"DataScience.restartKernelAfterInterruptMessage": "Interrupting the kernel timed out. Do you want to restart the kernel instead? All variables will be lost.",
Copy file name to clipboardExpand all lines: package.nls.nl.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -115,7 +115,7 @@
115
115
"DataScience.exportingFormat": "Aan het exporteren {0}",
116
116
"DataScience.exportCancel": "Annuleren",
117
117
"Common.canceled": "Geannuleerd",
118
-
"DataScience.importChangeDirectoryComment": "#%% De werkmap van de werkruimte root naar de ipynb-bestandslocatie veranderen. Schakel deze toevoeging uit met de instelling DataScience.changeDirOnImportExport",
118
+
"DataScience.importChangeDirectoryComment": "{0} De werkmap van de werkruimte root naar de ipynb-bestandslocatie veranderen. Schakel deze toevoeging uit met de instelling DataScience.changeDirOnImportExport",
119
119
"DataScience.exportChangeDirectoryComment": "# De map wijzigen naar de VSCode-werktuimte root zodat de relatieve pad-ladingen correct werken. Schakel deze toevoeging uit met de instelling DataScience.changeDirOnImportExport",
"DataScience.restartKernelAfterInterruptMessage": "Het onderbreken van de kernel duurde te lang. Wil je de kernel in plaats daarvan herstarten? Alle variabelen zullen verloren gaan.",
exportconstimportChangeDirectoryComment=localize('DataScience.importChangeDirectoryComment','#%% Change working directory from the workspace root to the ipynb file location. Turn this addition off with the DataScience.changeDirOnImportExport setting');
152
+
exportconstimportChangeDirectoryComment=localize('DataScience.importChangeDirectoryComment','{0} Change working directory from the workspace root to the ipynb file location. Turn this addition off with the DataScience.changeDirOnImportExport setting');
153
153
exportconstexportChangeDirectoryComment=localize('DataScience.exportChangeDirectoryComment','# Change directory to VSCode workspace root so that relative path loads work correctly. Turn this addition off with the DataScience.changeDirOnImportExport setting');
154
154
155
155
exportconstrestartKernelMessage=localize('DataScience.restartKernelMessage','Do you want to restart the Jupter kernel? All variables will be lost.');
exportconstcellStopOnErrorFormatMessage=localize('DataScience.cellStopOnErrorFormatMessage','{0} cells were canceled due to an error in the previous cell.');
265
265
exportconstscrollToCellTitleFormatMessage=localize('DataScience.scrollToCellTitleFormatMessage','Go to [{0}]');
266
-
exportconstinstructionComments=localize('DataScience.instructionComments','# To add a new cell, type "#%%"\n# To add a new markdown cell, type "#%% [markdown]"\n');
266
+
exportconstinstructionComments=localize('DataScience.instructionComments','# To add a new cell, type "{0}"\n# To add a new markdown cell, type "{0} [markdown]"\n');
267
267
exportconstinvalidNotebookFileError=localize('DataScience.invalidNotebookFileError','Notebook is not in the correct format. Check the file for correct json.');
268
268
exportconstinvalidNotebookFileErrorFormat=localize('DataScience.invalidNotebookFileError','{0} is not a valid notebook file. Check the file for correct json.');
0 commit comments