forked from microsoft/vscode-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelpers.ts
More file actions
37 lines (34 loc) · 1.38 KB
/
helpers.ts
File metadata and controls
37 lines (34 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
'use strict';
import { IDataScienceSettings } from '../../client/common/types';
// The default base set of data science settings to use
export function defaultDataScienceSettings(): IDataScienceSettings {
return {
allowImportFromNotebook: true,
jupyterLaunchTimeout: 10,
jupyterLaunchRetries: 3,
enabled: true,
jupyterServerURI: 'local',
// tslint:disable-next-line: no-invalid-template-strings
notebookFileRoot: '${fileDirname}',
changeDirOnImportExport: false,
useDefaultConfigForJupyter: true,
jupyterInterruptTimeout: 10000,
searchForJupyter: true,
showCellInputCode: true,
collapseCellInputCodeByDefault: true,
allowInput: true,
maxOutputSize: 400,
errorBackgroundColor: '#FFFFFF',
sendSelectionToInteractiveWindow: false,
variableExplorerExclude: 'module;function;builtin_function_or_method',
codeRegularExpression: '^(#\\s*%%|#\\s*\\<codecell\\>|#\\s*In\\[\\d*?\\]|#\\s*In\\[ \\])',
markdownRegularExpression: '^(#\\s*%%\\s*\\[markdown\\]|#\\s*\\<markdowncell\\>)',
enablePlotViewer: true,
runStartupCommands: '',
debugJustMyCode: true,
variableQueries: [],
jupyterCommandLineArguments: []
};
}