mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
56 lines
2.6 KiB
TypeScript
56 lines
2.6 KiB
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
'use strict';
|
|
|
|
// CONFIG VALUES ///////////////////////////////////////////////////////////
|
|
export const extensionConfigSectionName = 'dataManagement';
|
|
export const extensionOutputChannel = 'Notebooks';
|
|
export const configLogDebugInfo = 'logDebugInfo';
|
|
|
|
// JUPYTER CONFIG //////////////////////////////////////////////////////////
|
|
export const pythonBundleVersion = '0.0.1';
|
|
export const pythonVersion = '3.6.6';
|
|
export const sparkMagicVersion = '0.12.6.1';
|
|
export const python3 = 'python3';
|
|
export const pysparkkernel = 'pysparkkernel';
|
|
export const sparkkernel = 'sparkkernel';
|
|
export const pyspark3kernel = 'pyspark3kernel';
|
|
export const python3DisplayName = 'Python 3';
|
|
export const defaultSparkKernel = 'pyspark3kernel';
|
|
export const pythonPathConfigKey = 'pythonPath';
|
|
export const existingPythonConfigKey = 'useExistingPython';
|
|
export const notebookConfigKey = 'notebook';
|
|
|
|
export const hdfsHost = 'host';
|
|
export const hdfsUser = 'user';
|
|
|
|
export const winPlatform = 'win32';
|
|
|
|
export const jupyterNotebookProviderId = 'jupyter';
|
|
export const jupyterConfigRootFolder = 'jupyter_config';
|
|
export const jupyterKernelsMasterFolder = 'kernels_master';
|
|
export const jupyterNewNotebookTask = 'jupyter.task.newNotebook';
|
|
export const jupyterOpenNotebookTask = 'jupyter.task.openNotebook';
|
|
export const jupyterNewNotebookCommand = 'jupyter.cmd.newNotebook';
|
|
export const jupyterCommandSetContext = 'jupyter.setContext';
|
|
export const jupyterCommandSetKernel = 'jupyter.setKernel';
|
|
export const jupyterReinstallDependenciesCommand = 'jupyter.reinstallDependencies';
|
|
export const jupyterAnalyzeCommand = 'jupyter.cmd.analyzeNotebook';
|
|
export const jupyterInstallPackages = 'jupyter.cmd.installPackages';
|
|
export const jupyterConfigurePython = 'jupyter.cmd.configurePython';
|
|
|
|
export enum BuiltInCommands {
|
|
SetContext = 'setContext'
|
|
}
|
|
|
|
export enum CommandContext {
|
|
WizardServiceEnabled = 'wizardservice:enabled'
|
|
}
|
|
|
|
export const pythonOfflinePipPackagesUrl = 'https://go.microsoft.com/fwlink/?linkid=2092867';
|
|
export const pythonWindowsInstallUrl = 'https://go.microsoft.com/fwlink/?linkid=2092866';
|
|
export const pythonMacInstallUrl = 'https://go.microsoft.com/fwlink/?linkid=2092865';
|
|
export const pythonLinuxInstallUrl = 'https://go.microsoft.com/fwlink/?linkid=2092864'; |