-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Loïc Mangeonjean
committed
Oct 16, 2023
1 parent
f47eaf8
commit d8904cc
Showing
6 changed files
with
91 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import getDebugServiceOverride from '@codingame/monaco-vscode-debug-service-override' | ||
import { registerServices } from '../services' | ||
|
||
registerServices({ | ||
...getDebugServiceOverride() | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import getSearchServiceOverride from '@codingame/monaco-vscode-search-service-override' | ||
import { registerServices } from '../services' | ||
|
||
import '@codingame/monaco-vscode-search-result-default-extension' | ||
|
||
registerServices({ | ||
...getSearchServiceOverride() | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import getMarkersServiceOverride from '@codingame/monaco-vscode-markers-service-override' | ||
import getOutputServiceOverride from '@codingame/monaco-vscode-output-service-override' | ||
import { registerServices } from '../services' | ||
import { registerWorkerLoader } from '../worker' | ||
import '@codingame/monaco-vscode-references-view-default-extension' | ||
|
||
registerWorkerLoader('outputLinkComputer', () => new Worker(new URL('@codingame/monaco-vscode-output-service-override/worker', import.meta.url))) | ||
|
||
registerServices({ | ||
...getOutputServiceOverride(), | ||
...getMarkersServiceOverride() | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import getViewsServiceOverride from '@codingame/monaco-vscode-views-service-override' | ||
import getOutputServiceOverride from '@codingame/monaco-vscode-output-service-override' | ||
import getStatusBarServiceOverride from '@codingame/monaco-vscode-view-status-bar-service-override' | ||
import getMarkersServiceOverride from '@codingame/monaco-vscode-markers-service-override' | ||
import getQuickAccessServiceOverride from '@codingame/monaco-vscode-quickaccess-service-override' | ||
import { editorOpenHandlerRegistry, registerServices, useGlobalPicker } from '../services' | ||
|
||
import '@codingame/monaco-vscode-theme-seti-default-extension' | ||
import '@codingame/monaco-vscode-media-preview-default-extension' | ||
import '@codingame/monaco-vscode-markdown-language-features-default-extension' | ||
import '@codingame/monaco-vscode-markdown-math-default-extension' | ||
|
||
registerServices({ | ||
...getViewsServiceOverride((model, input, sideBySide) => { | ||
return editorOpenHandlerRegistry.openCodeEditor(model, input, sideBySide) | ||
}), | ||
...getOutputServiceOverride(), | ||
...getStatusBarServiceOverride(), | ||
...getMarkersServiceOverride(), | ||
...getQuickAccessServiceOverride({ | ||
shouldUseGlobalPicker () { | ||
return useGlobalPicker() | ||
}, | ||
isKeybindingConfigurationVisible () { | ||
return true | ||
} | ||
}) | ||
}) |