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
Copy file name to clipboardExpand all lines: README.md
+35-34Lines changed: 35 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,80 +119,81 @@ await initialize({
119
119
})
120
120
```
121
121
122
-
Additionally, this library exposes 23 modules that include the vscode version of some services (with some glue to make it work with monaco):
122
+
Additionally, 25 packages that include the vscode version of some services (with some glue to make it work with monaco) are published:
123
123
124
-
-**Extensions** (included by default): `vscode/service-override/extensions`
124
+
-**Extensions** (included by default): `@codingame/monaco-vscode-extensions-service-override`
125
125
- Support for VSCode extensions. A worker configuration can be past to it:
126
126
- 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.
127
-
-**Files** (included by default): `vscode/service-override/files`
127
+
-**Files** (included by default): `@codingame/monaco-vscode-file-service-override`
128
128
- 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.
129
-
-**QuickAccess** (included by default): `vscode/service-override/quickaccess`
129
+
-**QuickAccess** (included by default): `@codingame/monaco-vscode-quickaccess-service-override`
130
130
- Enables the quickaccess menu in the editor (press F1 or ctrl+shift+p)
- 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.
- 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).
- 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).
- 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.
- 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).
- 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:
176
176
- Current loaded theme is stored in there to be loaded faster on start.
VSCode uses a bunch of default extensions. Most of them are used to load the default languages and grammars (see https://github.com/microsoft/vscode/tree/main/extensions).
297
298
298
-
This library bundles most of them and allows to import the ones you want:
299
+
This library bundles and publishes them and allows to import the ones you want:
0 commit comments