(configService: IConfigurationService, resource: Resource)
| 5 | import { IKernelSettings } from './types'; |
| 6 | |
| 7 | export 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 | } |
no outgoing calls
no test coverage detected