Merge pull request #37 from nicoabie/exclude-features

Feature exclude
This commit is contained in:
Alexandru Dima 2018-09-20 10:45:00 +02:00 committed by GitHub
commit 1bd93df64b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 713 additions and 677 deletions

View file

@ -63,6 +63,7 @@ Some languages share the same web worker. If one of the following languages is i
* `features` (`string[]`) - include only a subset of the editor features.
* default value: `['accessibilityHelp', 'bracketMatching', 'caretOperations', 'clipboard', 'codeAction', 'codelens', 'colorDetector', 'comment', 'contextmenu', 'coreCommands', 'cursorUndo', 'dnd', 'find', 'folding', 'fontZoom', 'format', 'goToDefinitionCommands', 'goToDefinitionMouse', 'gotoError', 'gotoLine', 'hover', 'inPlaceReplace', 'inspectTokens', 'iPadShowKeyboard', 'linesOperations', 'links', 'multicursor', 'parameterHints', 'quickCommand', 'quickOutline', 'referenceSearch', 'rename', 'smartSelect', 'snippets', 'suggest', 'toggleHighContrast', 'toggleTabFocusMode', 'transpose', 'wordHighlighter', 'wordOperations', 'wordPartOperations']`.
* excluded features: It is also possible to exclude certain default features prefixing them with an exclamation mark '!'.
## Contributing