@codingame/monaco-vscode-api 1.67.12 → 1.67.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -46,22 +46,25 @@ StandaloneService.initialize({
46
46
  })
47
47
  ```
48
48
 
49
- Additionally, this library exposes 2 modules that include the vscode version of some services (with some glue to make it work with monaco):
49
+ Additionally, this library exposes 3 modules that include the vscode version of some services (with some glue to make it work with monaco):
50
50
  - Notification / Dialog: `vscode/service-override/messages`
51
51
  - Model / Editor: `vscode/service-override/modelEditor`
52
+ - Configuration: `vscode/service-override/configuration`
52
53
 
53
54
  Usage:
54
55
  ```typescript
55
56
  import { StandaloneService } from 'vscode/services'
56
57
  import getModelEditorServiceOverride from 'vscode/service-override/modelEditor'
57
58
  import getMessageServiceOverride from 'vscode/service-override/messages'
59
+ import getConfigurationServiceOverride from 'vscode/service-override/configuration'
58
60
 
59
61
  StandaloneServices.initialize({
60
62
  ...getModelEditorServiceOverride((model, input, sideBySide) => {
61
63
  // Open a new editor here and return it
62
64
  // It will be called when for instance the user ctrl+click on an import
63
65
  }),
64
- ...getMessageServiceOverride(document.body)
66
+ ...getMessageServiceOverride(document.body),
67
+ ...getConfigurationServiceOverride(readConfiguration, configurationChangeEvent)
65
68
  })
66
69
  ```
67
70