1
0
Эх сурвалжийг харах

Remove non-optional features; align names

Alex Dima 7 жил өмнө
parent
commit
abaa22c84e

+ 7 - 19
webpack/features.js

@@ -15,11 +15,7 @@ module.exports = {
     entry: 'vs/editor/contrib/clipboard/clipboard',
     entry: 'vs/editor/contrib/clipboard/clipboard',
     worker: undefined,
     worker: undefined,
   },
   },
-  codeEditorWidget: {
-    entry: 'vs/editor/browser/widget/codeEditorWidget',
-    worker: undefined,
-  },
-  codelensController: {
+  codelens: {
     entry: 'vs/editor/contrib/codelens/codelensController',
     entry: 'vs/editor/contrib/codelens/codelensController',
     worker: undefined,
     worker: undefined,
   },
   },
@@ -43,19 +39,11 @@ module.exports = {
     entry: 'vs/editor/contrib/cursorUndo/cursorUndo',
     entry: 'vs/editor/contrib/cursorUndo/cursorUndo',
     worker: undefined,
     worker: undefined,
   },
   },
-  diffEditorWidget: {
-    entry: 'vs/editor/browser/widget/diffEditorWidget',
-    worker: undefined,
-  },
-  diffNavigator: {
-    entry: 'vs/editor/browser/widget/diffNavigator',
-    worker: undefined,
-  },
   dnd: {
   dnd: {
     entry: 'vs/editor/contrib/dnd/dnd',
     entry: 'vs/editor/contrib/dnd/dnd',
     worker: undefined,
     worker: undefined,
   },
   },
-  findController: {
+  find: {
     entry: 'vs/editor/contrib/find/findController',
     entry: 'vs/editor/contrib/find/findController',
     worker: undefined,
     worker: undefined,
   },
   },
@@ -63,15 +51,15 @@ module.exports = {
     entry: 'vs/editor/contrib/folding/folding',
     entry: 'vs/editor/contrib/folding/folding',
     worker: undefined,
     worker: undefined,
   },
   },
-  formatActions: {
+  format: {
     entry: 'vs/editor/contrib/format/formatActions',
     entry: 'vs/editor/contrib/format/formatActions',
     worker: undefined,
     worker: undefined,
   },
   },
-  goToDeclarationCommands: {
+  gotoDeclarationCommands: {
     entry: 'vs/editor/contrib/goToDeclaration/goToDeclarationCommands',
     entry: 'vs/editor/contrib/goToDeclaration/goToDeclarationCommands',
     worker: undefined,
     worker: undefined,
   },
   },
-  goToDeclarationMouse: {
+  gotoDeclarationMouse: {
     entry: 'vs/editor/contrib/goToDeclaration/goToDeclarationMouse',
     entry: 'vs/editor/contrib/goToDeclaration/goToDeclarationMouse',
     worker: undefined,
     worker: undefined,
   },
   },
@@ -139,11 +127,11 @@ module.exports = {
     entry: 'vs/editor/contrib/smartSelect/smartSelect',
     entry: 'vs/editor/contrib/smartSelect/smartSelect',
     worker: undefined,
     worker: undefined,
   },
   },
-  snippetController2: {
+  snippets: {
     entry: 'vs/editor/contrib/snippet/snippetController2',
     entry: 'vs/editor/contrib/snippet/snippetController2',
     worker: undefined,
     worker: undefined,
   },
   },
-  suggestController: {
+  suggest: {
     entry: 'vs/editor/contrib/suggest/suggestController',
     entry: 'vs/editor/contrib/suggest/suggestController',
     worker: undefined,
     worker: undefined,
   },
   },