MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / createKernelSettings

Function createKernelSettings

src/kernels/kernelSettings.ts:7–25  ·  view source on GitHub ↗
(configService: IConfigurationService, resource: Resource)

Source from the content-addressed store, hash-verified

5import { IKernelSettings } from './types';
6
7export function createKernelSettings(configService: IConfigurationService, resource: Resource): IKernelSettings {
8 return {
9 get enableExtendedPythonKernelCompletions() {
10 return configService.getSettings(resource).enableExtendedPythonKernelCompletions;
11 },
12 get interruptTimeout() {
13 return configService.getSettings(resource).jupyterInterruptTimeout;
14 },
15 get launchTimeout() {
16 return configService.getSettings(resource).jupyterLaunchTimeout;
17 },
18 get runStartupCommands() {
19 return configService.getSettings(resource).runStartupCommands;
20 },
21 get themeMatplotlibPlots() {
22 return configService.getSettings(resource).themeMatplotlibPlots;
23 }
24 };
25}

Callers 4

getOrCreateMethod · 0.90
getOrCreateMethod · 0.90
getOrCreateMethod · 0.90
getOrCreateMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected