@codingame/monaco-vscode-language-detection-worker-service-override 2.2.1 → 3.0.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-language-detection-worker-service-override",
3
- "version": "2.2.1",
3
+ "version": "3.0.0",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -18,7 +18,7 @@
18
18
  "module": "index.js",
19
19
  "types": "index.d.ts",
20
20
  "dependencies": {
21
- "vscode": "npm:@codingame/monaco-vscode-api@2.2.1",
21
+ "vscode": "npm:@codingame/monaco-vscode-api@3.0.0",
22
22
  "@vscode/vscode-languagedetection": "1.0.21"
23
23
  },
24
24
  "exports": {
@@ -1,7 +1,7 @@
1
1
  import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
2
  import { DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
3
3
  import { getCodeEditor } from 'vscode/vscode/vs/editor/browser/editorBrowser';
4
- import { localizeWithPath } from 'vscode/vscode/vs/nls';
4
+ import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls';
5
5
  import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
6
6
  import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
7
7
  import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
@@ -124,11 +124,11 @@ registerAction2(class extends Action2 {
124
124
  constructor() {
125
125
  super({
126
126
  id: detectLanguageCommandId,
127
- title: { value: ( localizeWithPath(
127
+ title: ( localize2WithPath(
128
128
  'vs/workbench/contrib/languageDetection/browser/languageDetection.contribution',
129
129
  'detectlang',
130
- 'Detect Language from Content'
131
- )), original: 'Detect Language from Content' },
130
+ "Detect Language from Content"
131
+ )),
132
132
  f1: true,
133
133
  precondition: ( ContextKeyExpr.and(( NOTEBOOK_EDITOR_EDITABLE.toNegated()), EditorContextKeys.editorTextFocus)),
134
134
  keybinding: { primary: 34 | 512 | 1024 , weight: 200 }