You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Language detection worker: `vscode/service-override/languageDetectionWorker`
147
-
- Storage: `vscode/service-override/storage`
125
+
-**Extensions** (included by default): `vscode/service-override/extensions`
126
+
- Support for VSCode extensions. A worker configuration can be past to it:
127
+
- Then, everything runs in one worker, where extensions run in an iframe, with all the implications (can be created by the bundler directly). The worker script is expected to be hosted on a separate domain.
128
+
-**Files** (included by default): `vscode/service-override/files`
129
+
- It adds the memory filesystem for `file://` files, but also adds the support for lazy loaded extension files. It adds separate memory user files (e.g. config, keybindings), cache files and log files.
130
+
-**QuickAccess** (included by default): `vscode/service-override/quickaccess`
131
+
- Enables the quickaccess menu in the editor (press F1 or ctrl+shift+p)
- This services enables vscode notifications you usually find in the bottom right corner.
134
+
-**Dialogs**: `vscode/service-override/dialogs`
135
+
- Enable vscode modal dialogs. It allows users to select an action to do. Those actions are exposed to the vscode API. Additionally, this service can be used by the language client to delegate questions to the user.
136
+
-**Model**: `vscode/service-override/model`
137
+
- This service creates and takes care of model references. For example:
138
+
- Create model if content is unknown
139
+
- Count references
140
+
- Destroy models when they are no longer used
141
+
-**Editor**: `vscode/service-override/editor`
142
+
- Enable editor support. This is usually needed when working with the language server protocol. Without enabling the editor service, it will only be able to resolve the currently open model (only internal file links will work).
143
+
-**Views**: `vscode/service-override/views`
144
+
- Enable full views support. Is exclusive with the `editor` service. Do not use both services at the same time.
- Allows to change the configuration of not only the editors, but every part of vscode. The language client for instance uses it to send the requested configuration to the server. The default configuration service already allows to change the configuration. This service overrides makes it rely on a user configuration file (with json schema, overridable by language including all vscode features).
- Enable language support. It's like the standalone service with 2 differences:
151
+
- It handle the language extension point (getting languages from vscode extensions)
152
+
- It triggers the `onLanguage:${language}` event (to load vscode extension listening to those events)
153
+
-**Textmate**: `vscode/service-override/textmate`
154
+
- Allows to use textmate grammars. Depends on *themes* service. vscode extensions use textmate grammars exclusively for highlighting. Once this is enabled monarch grammars can no longer be loaded by monaco-editor.
155
+
-**Themes**: `vscode/service-override/theme`
156
+
- Allows to use VSCode themes.
157
+
-**Snippets**: `vscode/service-override/snippets`
158
+
- Add snippet extension point (register vscode extension snippets)
- When opening an untitled model or a file without extension or if vscode is unable to guess the language simply by the file extension or by reading the first line. Then it will use tensorflow in a worker to try to guess the most probable language (here we are only able to rely on the open source model).
175
+
-**Storage**: `vscode/service-override/storage`
176
+
- Define your own storage or use the default BrowserStorageService. The storage service is used in many places either as a cache or as a user preference store. For instance:
177
+
- Current loaded theme is stored in there to be loaded faster on start.
0 commit comments