- Red Hat CodeReady Workspaces
- Red Hat CodeReady Workspaces
- Preview README.md
- app.js
- Preferences
- Red Hat CodeReady Workspaces
nodejs-configmap
This project demonstrates application and runtime configuration leveraging external configuration sources
Running The Example
You can run this example as node processes on your localhost, as pods on a local minishift installation.
Localhost
To run the basic application on your local machine, just run the commands bellow:
$ npm install
$ npm start
If you want debug information, you can set DEBUG
environment variable and start the application:
$ DEBUG=* npm start
This will launch the application on port 8080.
Minishift
Minishift should be started, and you should be logged in with a currently
active project. Then run the npm run openshift
command.
$ oc create configmap app-config --from-file=app-config.yml
$ minishift start # You may have some options here, e.g. --memory=8096 --vm-driver=virtualbox
$ oc login -u developer # Login
$ oc new-project my-example-project # Create a project to deploy to
$ npm run openshift # Deploys the example app
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
'use strict';
/*
*
* Copyright 2016-2017 Red Hat, Inc, and individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
const path = require('path');
const fs = require('fs');
const {promisify} = require('util');
const express = require('express');
const bodyParser = require('body-parser');
const readFile = promisify(fs.readFile);
// Setup logging
const logger = require('pino')();
const app = express();
// Health Check Middleware
const probe = require('kube-probe');
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({extended: false}));
app.use(express.static(path.join(__dirname, 'public')));
// Expose the license.html at http[s]://[host]:[port]/licences/licenses.html
app.use('/licenses', express.static(path.join(__dirname, 'licenses')));
let configMap;
let message;
app.use('/api/greeting', (request, response) => {
const name = (request.query && request.query.name) ? request.query.name : 'World';
if (!message) {
response.status(500);
return response.send({content: 'no config map'});
}
- User
- Workspace
Application
Che
Che Plugins
Css
Debug
Diff Editor
Editor
Explorer
Files
Git
Grunt
Gulp
Hosted Plugin
Html
Jake
Javascript
Json
Less
Merge Conflict
Notification
Npm
Openshift Connector
Output
Preview
Problems
References
Scm
Scss
Search
Terminal
Integrated
Typescript
Vs Kubernetes
Vsdocker
Webview
Workbench
Workspace
Yaml
- Application
- Confirm ExitWhen to confirm before closing the application window.
- Che
- Task
- Task Preview NotificationsEnable/disable the notifications with a proposal to open a Che task's preview URL. Can be: 'on', 'alwaysPreview', 'alwaysGoTo' or 'off'.
- Welcome
- Welcome EnableEnable/disable welcome plugin.
- Che Plugins
- Plugins RepositoriesCustom plugin repositories
- Css
- Completion
- Completion Complete Property With SemicolonInsert semicolon at end of line when completing CSS properties
- Completion Trigger Property Value CompletionBy default, VS Code triggers property value completion after selecting a CSS property. Use this setting to disable this behavior.
- Custom DataA list of relative file paths pointing to JSON files following the [custom data format](https://github.com/Microsoft/vscode-css-languageservice/blob/master/docs/customData.md). VS Code loads custom data on startup to enhance its CSS support for the custom CSS properties, at directives, pseudo classes and pseudo elements you specify in the JSON files. The file paths are relative to workspace and only workspace folder settings are considered.
- Lint
- Lint Arguments In Color FunctionInvalid number of parameters.
- Lint Box ModelDo not use `width` or `height` when using `padding` or `border`.
- Lint Compatible Vendor PrefixesWhen using a vendor-specific prefix make sure to also include all other vendor-specific properties.
- Lint Duplicate PropertiesDo not use duplicate style definitions.
- Lint Empty RulesDo not use empty rulesets.
- Lint FloatAvoid using `float`. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.
- Lint Font Face Properties`@font-face` rule must define `src` and `font-family` properties.
- Lint Hex Color LengthHex colors must consist of three or six hex numbers.
- Lint Id SelectorSelectors should not contain IDs because these rules are too tightly coupled with the HTML.
- Lint Ie HackIE hacks are only necessary when supporting IE7 and older.
- Lint ImportantAvoid using `!important`. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.
- Lint Import StatementImport statements do not load in parallel.
- Lint Property Ignored Due To DisplayProperty is ignored due to the display. E.g. with `display: inline`, the `width`, `height`, `margin-top`, `margin-bottom`, and `float` properties have no effect.
- Lint Universal SelectorThe universal selector (`*`) is known to be slow.
- Lint Unknown At RulesUnknown at-rule.
- Lint Unknown PropertiesUnknown property.
- Lint Unknown Vendor Specific PropertiesUnknown vendor specific property.
- Lint Valid PropertiesA list of properties that are not validated against the `unknownProperties` rule.
- Lint Vendor PrefixWhen using a vendor-specific prefix, also include the standard property.
- Lint Zero UnitsNo unit for zero needed.
- Trace
- Trace ServerTraces the communication between VS Code and the CSS language server.
- ValidateEnables or disables all validations.
- Debug
- Debug View LocationControls the location of the debug view.
- Inline ValuesShow variable values inline in editor while debugging.
- Internal Console OptionsControls when the internal debug console should open.
- Node
- Node Auto AttachAutomatically attach node debugger when node.js was launched in debug mode from integrated terminal.
- Node Show Use Wsl Is Deprecated WarningControls whether to show a warning when the 'useWSL' attribute is used.
- Open DebugControls when the debug view should open.
- Show In Status BarControls when the debug status bar should be visible.
- TraceEnable/disable tracing communications with debug adapters
- Diff Editor
- Editor Ignore Trim WhitespaceControls whether the diff editor shows changes in leading or trailing whitespace as diffs.
- Editor Max Computation TimeTimeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.
- Editor Render IndicatorsControls whether the diff editor shows +/- indicators for added/removed changes.
- Editor Render Side By SideControls whether the diff editor shows the diff side by side or inline.
- Editor
- Accept Suggestion On Commit CharacterControls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.
- Accept Suggestion On EnterControls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.
- Accessibility Page SizeControls the number of lines in the editor that can be read out by a screen reader. Warning: this has a performance implication for numbers larger than the default.
- Accessibility SupportControls whether the editor should run in a mode where it is optimized for screen readers.
- Auto Closing BracketsControls whether the editor should automatically close brackets after the user adds an opening bracket.
- Auto Closing OvertypeControls whether the editor should type over closing quotes or brackets.
- Auto Closing QuotesControls whether the editor should automatically close quotes after the user adds an opening quote.
- Auto IndentControls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.
- Auto SaveControls auto save of dirty files.
- Auto Save DelayConfigure the auto save delay in milliseconds.
- Auto SurroundControls whether the editor should automatically surround selections.
- Code LensControls whether the editor shows CodeLens.
- Color DecoratorsControls whether the editor should render the inline color decorators and color picker.
- Copy With Syntax HighlightingControls whether syntax highlighting should be copied into the clipboard.
- Cursor BlinkingControl the cursor animation style.
- Cursor Smooth Caret AnimationControls whether the smooth caret animation should be enabled.
- Cursor StyleControls the cursor style.
- Cursor Surrounding LinesControls the minimal number of visible leading and trailing lines surrounding the cursor. Known as `scrollOff` or `scrollOffset` in some other editors.
- Cursor Surrounding Lines StyleControls when `cursorSurroundingLines` should be enforced.
- Cursor WidthControls the width of the cursor when `#editor.cursorStyle#` is set to `line`.
- Detect IndentationControls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.
- Drag And DropControls whether the editor should allow moving selections via drag and drop.
- Empty Selection ClipboardControls whether copying without a selection copies the current line.
- Fast Scroll SensitivityScrolling speed multiplier when pressing `Alt`.
- Find
- Find Add Extra Space On TopControls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.
- Find Auto Find In SelectionControls whether the find operation is carried out on selected text or the entire file in the editor.
- Find Global Find ClipboardControls whether the Find Widget should read or modify the shared find clipboard on macOS.
- Find Seed Search String From SelectionControls whether the search string in the Find Widget is seeded from the editor selection.
- FoldingControls whether the editor has code folding enabled.
- Folding StrategyControls the strategy for computing folding ranges. `auto` uses a language specific folding strategy, if available. `indentation` uses the indentation based folding strategy.
- Font FamilyControls the font family.
- Font LigaturesConfigures font ligatures.
- Font SizeControls the font size in pixels.
- Font WeightControls the font weight.
- Format On PasteControls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.
- Format On SaveEnable format on manual save.
- Format On Save TimeoutTimeout in milliseconds after which the formatting that is run on file save is cancelled.
- Format On TypeControls whether the editor should automatically format the line after typing.
- Glyph MarginControls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.
- Goto Location
- Goto Location Alternative Declaration CommandAlternative command id that is being executed when the result of `Go to Declaration` is the current location.
- Goto Location Alternative Definition CommandAlternative command id that is being executed when the result of `Go to Definition` is the current location.
- Goto Location Alternative Implementation CommandAlternative command id that is being executed when the result of `Go to Implementation` is the current location.
- Goto Location Alternative Reference CommandAlternative command id that is being executed when the result of `Go to Reference` is the current location.
- Goto Location Alternative Type Definition CommandAlternative command id that is being executed when the result of `Go to Type Definition` is the current location.
- Goto Location Multiple
- Goto Location Multiple DeclarationsControls the behavior the `Go to Declaration`-command when multiple target locations exist.
- Goto Location Multiple DefinitionsControls the behavior the `Go to Definition`-command when multiple target locations exist.
- Goto Location Multiple ImplementationsControls the behavior the `Go to Implementations`-command when multiple target locations exist.
- Goto Location Multiple ReferencesControls the behavior the `Go to References`-command when multiple target locations exist.
- Goto Location Multiple Type DefinitionsControls the behavior the `Go to Type Definition`-command when multiple target locations exist.
- Hide Cursor In Overview RulerControls whether the cursor should be hidden in the overview ruler.
- Highlight Active Indent GuideControls whether the editor should highlight the active indent guide.
- Hover
- Hover DelayControls the delay in milliseconds after which the hover is shown.
- Hover EnabledControls whether the hover is shown.
- Hover StickyControls whether the hover should remain visible when mouse is moved over it.
- Insert SpacesInsert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.
- Large File OptimizationsSpecial handling for large files to disable certain memory intensive features.
- Letter SpacingControls the letter spacing in pixels.
- Lightbulb
- Lightbulb EnabledEnables the code action lightbulb in the editor.
- Line HeightControls the line height. Use 0 to compute the line height from the font size.
- Line NumbersControls the display of line numbers.
- LinksControls whether the editor should detect links and make them clickable.
- Match BracketsHighlight matching brackets.
- Max Tokenization Line LengthLines above this length will not be tokenized for performance reasons
- Minimap
- Minimap EnabledControls whether the minimap is shown.
- Minimap Max ColumnLimit the width of the minimap to render at most a certain number of columns.
- Minimap Render CharactersRender the actual characters on a line as opposed to color blocks.
- Minimap ScaleScale of content drawn in the minimap.
- Minimap Show SliderControls when the minimap slider is shown.
- Minimap SideControls the side where to render the minimap.
- Mouse Wheel Scroll SensitivityA multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.
- Mouse Wheel ZoomZoom the font of the editor when using mouse wheel and holding `Ctrl`.
- Multi Cursor Merge OverlappingMerge multiple cursors when they are overlapping.
- Multi Cursor ModifierThe modifier to be used to add multiple cursors with the mouse. The Go To Definition and Open Link mouse gestures will adapt such that they do not conflict with the multicursor modifier. [Read more](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).
- Multi Cursor PasteControls pasting when the line count of the pasted text matches the cursor count.
- Occurrences HighlightControls whether the editor should highlight semantic symbol occurrences.
- Overview Ruler BorderControls whether a border should be drawn around the overview ruler.
- Parameter Hints
- Parameter Hints CycleControls whether the parameter hints menu cycles or closes when reaching the end of the list.
- Parameter Hints EnabledEnables a pop-up that shows parameter documentation and type information as you type.
- Quick SuggestionsControls whether suggestions should automatically show up while typing.
- Quick Suggestions DelayControls the delay in milliseconds after which quick suggestions will show up.
- Render Control CharactersControls whether the editor should render control characters.
- Render Final NewlineRender last line number when the file ends with a newline.
- Render Indent GuidesControls whether the editor should render indent guides.
- Render Line HighlightControls how the editor should render the current line highlight.
- Render WhitespaceControls how the editor should render whitespace characters.
- Rounded SelectionControls whether selections should have rounded corners.
- RulersRender vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.
- Scroll Beyond Last ColumnControls the number of extra characters beyond which the editor will scroll horizontally.
- Scroll Beyond Last LineControls whether the editor will scroll beyond the last line.
- Selection ClipboardControls whether the Linux primary clipboard should be supported.
- Selection HighlightControls whether the editor should highlight matches similar to the selection.
- Show Folding ControlsControls whether the fold controls on the gutter are automatically hidden.
- Show UnusedControls fading out of unused code.
- Smooth ScrollingControls whether the editor will scroll using an animation.
- Snippet SuggestionsControls whether snippets are shown with other suggestions and how they are sorted.
- Stable PeekKeep peek editors open even when double clicking their content or when hitting `Escape`.
- Suggest Font SizeFont size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.
- Suggest
- Suggest Filtered Types
- Suggest Filter GracefulControls whether filtering and sorting suggestions accounts for small typos.
- Suggest Insert HighlightControls whether unexpected text modifications while accepting completions should be highlighted, e.g `insertMode` is `replace` but the completion only supports `insert`.
- Suggest Insert ModeControls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.
- Suggest Locality BonusControls whether sorting favours words that appear close to the cursor.
- Suggest Max Visible SuggestionsControls how many suggestions IntelliSense will show before showing a scrollbar (maximum 15).
- Suggest Share Suggest SelectionsControls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).
- Suggest Show ClassesWhen enabled IntelliSense shows `class`-suggestions.
- Suggest Show ColorsWhen enabled IntelliSense shows `color`-suggestions.
- Suggest Show ConstantsWhen enabled IntelliSense shows `constant`-suggestions.
- Suggest Show ConstructorsWhen enabled IntelliSense shows `constructor`-suggestions.
- Suggest Show CustomcolorsWhen enabled IntelliSense shows `customcolor`-suggestions.
- Suggest Show Enum MembersWhen enabled IntelliSense shows `enumMember`-suggestions.
- Suggest Show EnumsWhen enabled IntelliSense shows `enum`-suggestions.
- Suggest Show EventsWhen enabled IntelliSense shows `event`-suggestions.
- Suggest Show FieldsWhen enabled IntelliSense shows `field`-suggestions.
- Suggest Show FilesWhen enabled IntelliSense shows `file`-suggestions.
- Suggest Show FoldersWhen enabled IntelliSense shows `folder`-suggestions.
- Suggest Show FunctionsWhen enabled IntelliSense shows `function`-suggestions.
- Suggest Show IconsControls whether to show or hide icons in suggestions.
- Suggest Show InterfacesWhen enabled IntelliSense shows `interface`-suggestions.
- Suggest Show KeywordsWhen enabled IntelliSense shows `keyword`-suggestions.
- Suggest Show MethodsWhen enabled IntelliSense shows `method`-suggestions.
- Suggest Show ModulesWhen enabled IntelliSense shows `module`-suggestions.
- Suggest Show OperatorsWhen enabled IntelliSense shows `operator`-suggestions.
- Suggest Show PropertiesWhen enabled IntelliSense shows `property`-suggestions.
- Suggest Show ReferencesWhen enabled IntelliSense shows `reference`-suggestions.
- Suggest Show SnippetsWhen enabled IntelliSense shows `snippet`-suggestions.
- Suggest Show StructsWhen enabled IntelliSense shows `struct`-suggestions.
- Suggest Show Type ParametersWhen enabled IntelliSense shows `typeParameter`-suggestions.
- Suggest Show UnitsWhen enabled IntelliSense shows `unit`-suggestions.
- Suggest Show ValuesWhen enabled IntelliSense shows `value`-suggestions.
- Suggest Show VariablesWhen enabled IntelliSense shows `variable`-suggestions.
- Suggest Show WordsWhen enabled IntelliSense shows `text`-suggestions.
- Suggest Snippets Prevent Quick SuggestionsControl whether an active snippet prevents quick suggestions.
- Suggest Line HeightLine height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used.
- Suggest On Trigger CharactersControls whether suggestions should automatically show up when typing trigger characters.
- Suggest SelectionControls how suggestions are pre-selected when showing the suggest list.
- Tab CompletionEnables tab completions.
- Tab SizeThe number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.
- Trim Auto WhitespaceRemove trailing auto inserted whitespace.
- Use Tab StopsInserting and deleting whitespace follows tab stops.
- Word Based SuggestionsControls whether completions should be computed based on words in the document.
- Word SeparatorsCharacters that will be used as word separators when doing word related navigations or operations.
- Word WrapControls how lines should wrap.
- Word Wrap ColumnControls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.
- Wrapping IndentControls the indentation of wrapped lines.
- Explorer
- Auto RevealSelects file under editing in the explorer.
- Files
- AssociationsConfigure file associations to languages (e.g. "*.extension": "html"). These have precedence over the default associations of the languages installed.
- Enable TrashMoves files/folders to the OS trash (recycle bin on Windows) when deleting. Disabling this will delete files/folders permanently.
- EncodingThe default character set encoding to use when reading and writing files.
- EolThe default end of line character.
- ExcludeConfigure glob patterns for excluding files and folders.
- Watcher ExcludeList of paths to exclude from the filesystem watcher
- Git
- Allow Force PushControls whether force push (with or without lease) is enabled.
- Always Show Staged Changes Resource GroupAlways show the Staged Changes resource group.
- Always Sign OffControls the signoff flag for all commits.
- AutofetchWhen enabled, commits will automatically be fetched from the default remote of the current Git repository.
- AutorefreshWhether auto refreshing is enabled.
- Auto Repository DetectionConfigures when repositories should be automatically detected.
- Branch Validation RegexA regular expression to validate new branch names.
- Branch Whitespace CharThe character to replace whitespace in new branch names.
- Checkout TypeControls what type of branches are listed when running `Checkout to...`.
- Confirm Empty CommitsAlways confirm the creation of empty commits.
- Confirm Force PushControls whether to ask for confirmation before force-pushing.
- Confirm SyncConfirm before synchronizing git repositories.
- Count BadgeControls the git badge counter.
- Decorations
- Decorations EnabledControls whether Git contributes colors and badges to the explorer and the open editors view.
- Default Clone DirectoryThe default location to clone a git repository.
- Detect SubmodulesControls whether to automatically detect git submodules.
- Detect Submodules LimitControls the limit of git submodules detected.
- Enable Commit SigningEnables commit signing with GPG.
- EnabledWhether git is enabled.
- Enable Smart CommitCommit all changes when there are no staged changes.
- Fetch On PullFetch all branches when pulling or just the current one.
- Ignored RepositoriesList of git repositories to ignore.
- Ignore Legacy WarningIgnores the legacy Git warning.
- Ignore Limit WarningIgnores the warning when there are too many changes in a repository.
- Ignore Missing Git WarningIgnores the warning when Git is missing.
- Input ValidationControls when to show commit message input validation.
- Input Validation LengthControls the commit message length threshold for showing a warning.
- Open Diff On ClickControls whether the diff editor should be opened when clicking a change. Otherwise the regular editor will be opened.
- PathPath and filename of the git executable, e.g. `C:\Program Files\Git\bin\git.exe` (Windows).
- Post Commit CommandRuns a git command after a successful commit.
- Prompt To Save Files Before CommitControls whether Git should check for unsaved files before committing.
- Rebase When SyncForce git to use rebase when running the sync command.
- Scan RepositoriesList of paths to search for git repositories in.
- Show Inline Open File ActionControls whether to show an inline Open File action in the Git changes view.
- Show ProgressControls whether git actions should show progress.
- Show Push Success NotificationControls whether to show a notification when a push is successful.
- Use Force Push With LeaseControls whether force pushing uses the safer force-with-lease variant.
- User
- User EmailYour email address to be recorded in any newly created commits.
- User NameYour full name to be recorded in any newly created commits.
- Grunt
- Auto DetectControls whether auto detection of Grunt tasks is on or off. Default is on.
- Gulp
- Auto DetectControls whether auto detection of Gulp tasks is on or off. Default is on.
- Hosted Plugin
- Plugin Debug ModeUsing inspect or inspect-brk for Node.js debug
- Plugin Watch ModeRun watcher on plugin under development
- Html
- Auto Closing TagsEnable/disable autoclosing of HTML tags.
- Custom DataA list of relative file paths pointing to JSON files following the [custom data format](https://github.com/Microsoft/vscode-html-languageservice/blob/master/docs/customData.md). VS Code loads custom data on startup to enhance its HTML support for the custom HTML tags, attributes and attribute values you specify in the JSON files. The file paths are relative to workspace and only workspace folder settings are considered.
- Format
- Format Content UnformattedList of tags, comma separated, where the content shouldn't be reformatted. `null` defaults to the `pre` tag.
- Format EnableEnable/disable default HTML formatter.
- Format End With NewlineEnd with a newline.
- Format Extra LinersList of tags, comma separated, that should have an extra newline before them. `null` defaults to `"head, body, /html"`.
- Format Indent HandlebarsFormat and indent `{{#foo}}` and `{{/foo}}`.
- Format Indent Inner HtmlIndent `<head>` and `<body>` sections.
- Format Max Preserve New LinesMaximum number of line breaks to be preserved in one chunk. Use `null` for unlimited.
- Format Preserve New LinesControls whether existing line breaks before elements should be preserved. Only works before elements, not inside tags or for text.
- Format UnformattedList of tags, comma separated, that shouldn't be reformatted. `null` defaults to all tags listed at https://www.w3.org/TR/html5/dom.html#phrasing-content.
- Format Wrap AttributesWrap attributes.
- Format Wrap Line LengthMaximum amount of characters per line (0 = disable).
- Mirror Cursor On Matching TagEnable/disable mirroring cursor on matching HTML tag.
- Suggest
- Suggest Html5Controls whether the built-in HTML language support suggests HTML5 tags, properties and values.
- Trace
- Trace ServerTraces the communication between VS Code and the HTML language server.
- Validate
- Validate ScriptsControls whether the built-in HTML language support validates embedded scripts.
- Validate StylesControls whether the built-in HTML language support validates embedded styles.
- Jake
- Auto DetectControls whether auto detection of Jake tasks is on or off. Default is on.
- Javascript
- Auto Closing TagsEnable/disable automatic closing of JSX tags. Requires using TypeScript 3.0 or newer in the workspace.
- Format
- Format EnableEnable/disable default JavaScript formatter.
- Format Insert Space After Comma DelimiterDefines space handling after a comma delimiter.
- Format Insert Space After ConstructorDefines space handling after the constructor keyword. Requires using TypeScript 2.3.0 or newer in the workspace.
- Format Insert Space After Function Keyword For Anonymous FunctionsDefines space handling after function keyword for anonymous functions.
- Format Insert Space After Keywords In Control Flow StatementsDefines space handling after keywords in a control flow statement.
- Format Insert Space After Opening And Before Closing Jsx Expression BracesDefines space handling after opening and before closing JSX expression braces.
- Format Insert Space After Opening And Before Closing Nonempty BracesDefines space handling after opening and before closing non-empty braces. Requires using TypeScript 2.3.0 or newer in the workspace.
- Format Insert Space After Opening And Before Closing Nonempty BracketsDefines space handling after opening and before closing non-empty brackets.
- Format Insert Space After Opening And Before Closing Nonempty ParenthesisDefines space handling after opening and before closing non-empty parenthesis.
- Format Insert Space After Opening And Before Closing Template String BracesDefines space handling after opening and before closing template string braces.
- Format Insert Space After Semicolon In For StatementsDefines space handling after a semicolon in a for statement.
- Format Insert Space Before And After Binary OperatorsDefines space handling after a binary operator.
- Format Insert Space Before Function ParenthesisDefines space handling before function argument parentheses.
- Format Place Open Brace On New Line For Control BlocksDefines whether an open brace is put onto a new line for control blocks or not.
- Format Place Open Brace On New Line For FunctionsDefines whether an open brace is put onto a new line for functions or not.
- Implicit Project Config
- Implicit Project Config Check JsEnable/disable semantic checking of JavaScript files. Existing jsconfig.json or tsconfig.json files override this setting. Requires using TypeScript 2.3.1 or newer in the workspace.
- Implicit Project Config Experimental DecoratorsEnable/disable `experimentalDecorators` for JavaScript files that are not part of a project. Existing jsconfig.json or tsconfig.json files override this setting. Requires using TypeScript 2.3.1 or newer in the workspace.
- Preferences
- Preferences Import Module SpecifierPreferred path style for auto imports.
- Preferences Quote StylePreferred quote style to use for quick fixes: `single` quotes, `double` quotes, or `auto` infer quote type from existing imports. Requires using TypeScript 2.9 or newer in the workspace.
- Preferences Rename Shorthand PropertiesEnable/disable introducing aliases for object shorthand properties during renames. Requires using TypeScript 3.4 or newer in the workspace.
- References Code Lens
- References Code Lens EnabledEnable/disable references CodeLens in JavaScript files.
- Suggest
- Suggest Auto ImportsEnable/disable auto import suggestions. Requires using TypeScript 2.6.1 or newer in the workspace.
- Suggest Complete Function CallsComplete functions with their parameter signature.
- Suggest Complete JSDocsEnable/disable suggestion to complete JSDoc comments.
- Suggest EnabledEnabled/disable autocomplete suggestions.
- Suggest NamesEnable/disable including unique names from the file in JavaScript suggestions.
- Suggest PathsEnable/disable suggestions for paths in import statements and require calls.
- Suggestion Actions
- Suggestion Actions EnabledEnable/disable suggestion diagnostics for JavaScript files in the editor. Requires using TypeScript 2.8 or newer in the workspace.
- Update Imports On File Move
- Update Imports On File Move EnabledEnable/disable automatic updating of import paths when you rename or move a file in VS Code. Requires using TypeScript 2.9 or newer in the workspace.
- Validate
- Validate EnableEnable/disable JavaScript validation.
- Json
- Color Decorators
- Color Decorators EnableEnables or disables color decorators
- Format
- Format EnableEnable/disable default JSON formatter
- Max Items ComputedThe maximum number of outline symbols and folding regions computed (limited for performance reasons).
- Schema Download
- Schema Download EnableWhen enabled, JSON schemas can be fetched from http and https locations.
- SchemasAssociate schemas to JSON files in the current project
- Trace
- Trace ServerTraces the communication between VS Code and the JSON language server.
- Less
- Completion
- Completion Complete Property With SemicolonInsert semicolon at end of line when completing CSS properties
- Completion Trigger Property Value CompletionBy default, VS Code triggers property value completion after selecting a CSS property. Use this setting to disable this behavior.
- Lint
- Lint Arguments In Color FunctionInvalid number of parameters.
- Lint Box ModelDo not use `width` or `height` when using `padding` or `border`.
- Lint Compatible Vendor PrefixesWhen using a vendor-specific prefix make sure to also include all other vendor-specific properties.
- Lint Duplicate PropertiesDo not use duplicate style definitions.
- Lint Empty RulesDo not use empty rulesets.
- Lint FloatAvoid using `float`. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.
- Lint Font Face Properties`@font-face` rule must define `src` and `font-family` properties.
- Lint Hex Color LengthHex colors must consist of three or six hex numbers.
- Lint Id SelectorSelectors should not contain IDs because these rules are too tightly coupled with the HTML.
- Lint Ie HackIE hacks are only necessary when supporting IE7 and older.
- Lint ImportantAvoid using `!important`. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.
- Lint Import StatementImport statements do not load in parallel.
- Lint Property Ignored Due To DisplayProperty is ignored due to the display. E.g. with `display: inline`, the `width`, `height`, `margin-top`, `margin-bottom`, and `float` properties have no effect.
- Lint Universal SelectorThe universal selector (`*`) is known to be slow.
- Lint Unknown At RulesUnknown at-rule.
- Lint Unknown PropertiesUnknown property.
- Lint Unknown Vendor Specific PropertiesUnknown vendor specific property.
- Lint Valid PropertiesA list of properties that are not validated against the `unknownProperties` rule.
- Lint Vendor PrefixWhen using a vendor-specific prefix, also include the standard property.
- Lint Zero UnitsNo unit for zero needed.
- ValidateEnables or disables all validations.
- Merge Conflict
- Auto Navigate Next Conflict
- Conflict Auto Navigate Next Conflict EnabledWhether to automatically navigate to the next merge conflict after resolving a merge conflict.
- Code Lens
- Conflict Code Lens EnabledCreate a Code Lens for merge conflict blocks within editor.
- Decorators
- Conflict Decorators EnabledCreate decorators for merge conflict blocks within editor.
- Conflict Diff View PositionControls where the diff view should be opened when comparing changes in merge conflicts.
- Notification
- TimeoutInformative notifications will be hidden after this timeout.
- Npm
- Auto DetectControls whether npm scripts should be automatically detected.
- Enable Script ExplorerEnable an explorer view for npm scripts when there is no top-level 'package.json' file.
- ExcludeConfigure glob patterns for folders that should be excluded from automatic script detection.
- Fetch Online Package InfoFetch data from https://registry.npmjs/org and https://registry.bower.io to provide auto-completion and information on hover features on npm dependencies.
- Package ManagerThe package manager used to run scripts.
- Run SilentRun npm commands with the `--silent` option.
- Script Explorer ActionThe default click action used in the scripts explorer: `open` or `run`, the default is `open`.
- Openshift Connector
- Connector Output Verbosity LevelOutput verbosity level (value between 0 and 9) for OpenShift Create, Push and Watch commands in output channel and integrated terminal.
- Connector Search For Tools In PathForce extension to search for `oc` and `odo` CLI tools in PATH locations before using bundled binaries.
- Connector Show Channel On OutputShow OpenShift Connector output channel when new text added to output stream.
- Connector Use Webview Instead Of Terminal ViewBy default the Terminal View is used to execute OpenShift 'Show Log', 'Follow Log' and 'Describe' commands. Select this option if you want to use Webview based editors for it.
- Output
- Max Channel HistoryThe maximum number of entries in an output channel.
- Preview
- Open By DefaultOpen the preview instead of the editor by default.
- Problems
- Decorations
- Decorations EnabledShow problem decorators (diagnostic markers) in tree widgets.
- Decorations Tabbar EnabledShow problem decorators (diagnostic markers) in the tab bars.
- References
- Preferred LocationControls whether 'Peek References' or 'Find References' is invoked when selecting code lens references
- Scm
- Default View ModeControls the default source control view mode.
- Scss
- Completion
- Completion Complete Property With SemicolonInsert semicolon at end of line when completing CSS properties
- Completion Trigger Property Value CompletionBy default, VS Code triggers property value completion after selecting a CSS property. Use this setting to disable this behavior.
- Lint
- Lint Arguments In Color FunctionInvalid number of parameters.
- Lint Box ModelDo not use `width` or `height` when using `padding` or `border`.
- Lint Compatible Vendor PrefixesWhen using a vendor-specific prefix make sure to also include all other vendor-specific properties.
- Lint Duplicate PropertiesDo not use duplicate style definitions.
- Lint Empty RulesDo not use empty rulesets.
- Lint FloatAvoid using `float`. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.
- Lint Font Face Properties`@font-face` rule must define `src` and `font-family` properties.
- Lint Hex Color LengthHex colors must consist of three or six hex numbers.
- Lint Id SelectorSelectors should not contain IDs because these rules are too tightly coupled with the HTML.
- Lint Ie HackIE hacks are only necessary when supporting IE7 and older.
- Lint ImportantAvoid using `!important`. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.
- Lint Import StatementImport statements do not load in parallel.
- Lint Property Ignored Due To DisplayProperty is ignored due to the display. E.g. with `display: inline`, the `width`, `height`, `margin-top`, `margin-bottom`, and `float` properties have no effect.
- Lint Universal SelectorThe universal selector (`*`) is known to be slow.
- Lint Unknown At RulesUnknown at-rule.
- Lint Unknown PropertiesUnknown property.
- Lint Unknown Vendor Specific PropertiesUnknown vendor specific property.
- Lint Valid PropertiesA list of properties that are not validated against the `unknownProperties` rule.
- Lint Vendor PrefixWhen using a vendor-specific prefix, also include the standard property.
- Lint Zero UnitsNo unit for zero needed.
- ValidateEnables or disables all validations.
- Search
- Collapse ResultsControls whether the search results will be collapsed or expanded.
- Line NumbersControls whether to show line numbers for search results.
- Terminal
- Enable CopyEnable ctrl-c (cmd-c on macOS) to copy selected text
- Enable PasteEnable ctrl-v (cmd-v on macOS) to paste from clipboard
- Integrated
- Integrated Copy On SelectionControls whether text selected in the terminal will be copied to the clipboard.
- Integrated Cursor BlinkingControls whether the terminal cursor blinks.
- Integrated Cursor StyleControls the style of the terminal cursor.
- Integrated Cursor WidthControls the width of the cursor when `#terminal.integrated.cursorStyle#` is set to `line`.
- Integrated Draw Bold Text In Bright ColorsControls whether to draw bold text in bright colors.
- Integrated Fast Scroll SensitivityControls the scrolling speed when pressing 'alt'.
- Integrated Font FamilyControls the font family of the terminal.
- Integrated Font SizeControls the font size in pixels of the terminal.
- Integrated Font WeightThe font weight to use within the terminal for non-bold text.
- Integrated Font Weight BoldThe font weight to use within the terminal for bold text.
- Integrated Letter SpacingControls the letter spacing of the terminal, this is an integer value which represents the amount of additional pixels to add between characters.
- Integrated Line HeightControls the line height of the terminal, this number is multiplied by the terminal font size to get the actual line-height in pixels.
- Integrated Renderer TypeControls how the terminal is rendered.
- Integrated ScrollbackControls the maximum amount of lines the terminal keeps in its buffer.
- Integrated Shell Args LinuxThe command line arguments to use when on the Linux terminal.
- Integrated Shell Args OsxThe command line arguments to use when on the macOS terminal.
- Integrated Shell Args WindowsThe command line arguments to use when on the Windows terminal.
- Integrated Shell LinuxThe path of the shell that the terminal uses on Linux (default: /bin/bash).
- Integrated Shell OsxThe path of the shell that the terminal uses on macOS (default: /bin/bash).
- Integrated Shell WindowsThe path of the shell that the terminal uses on Windows. (default: C:\Windows\System32\cmd.exe).
- Typescript
- Auto Closing TagsEnable/disable automatic closing of JSX tags. Requires using TypeScript 3.0 or newer in the workspace.
- Check
- Check Npm Is InstalledCheck if NPM is installed for Automatic Type Acquisition.
- Disable Automatic Type AcquisitionDisables automatic type acquisition. Automatic type acquisition fetches `@types` packages from npm to improve IntelliSense for external libraries.
- Format
- Format EnableEnable/disable default TypeScript formatter.
- Format Insert Space After Comma DelimiterDefines space handling after a comma delimiter.
- Format Insert Space After ConstructorDefines space handling after the constructor keyword. Requires using TypeScript 2.3.0 or newer in the workspace.
- Format Insert Space After Function Keyword For Anonymous FunctionsDefines space handling after function keyword for anonymous functions.
- Format Insert Space After Keywords In Control Flow StatementsDefines space handling after keywords in a control flow statement.
- Format Insert Space After Opening And Before Closing Jsx Expression BracesDefines space handling after opening and before closing JSX expression braces.
- Format Insert Space After Opening And Before Closing Nonempty BracesDefines space handling after opening and before closing non-empty braces. Requires using TypeScript 2.3.0 or newer in the workspace.
- Format Insert Space After Opening And Before Closing Nonempty BracketsDefines space handling after opening and before closing non-empty brackets.
- Format Insert Space After Opening And Before Closing Nonempty ParenthesisDefines space handling after opening and before closing non-empty parenthesis.
- Format Insert Space After Opening And Before Closing Template String BracesDefines space handling after opening and before closing template string braces.
- Format Insert Space After Semicolon In For StatementsDefines space handling after a semicolon in a for statement.
- Format Insert Space After Type AssertionDefines space handling after type assertions in TypeScript. Requires using TypeScript 2.4 or newer in the workspace.
- Format Insert Space Before And After Binary OperatorsDefines space handling after a binary operator.
- Format Insert Space Before Function ParenthesisDefines space handling before function argument parentheses.
- Format Place Open Brace On New Line For Control BlocksDefines whether an open brace is put onto a new line for control blocks or not.
- Format Place Open Brace On New Line For FunctionsDefines whether an open brace is put onto a new line for functions or not.
- Implementations Code Lens
- Implementations Code Lens EnabledEnable/disable implementations CodeLens. This CodeLens shows the implementers of an interface.
- LocaleSets the locale used to report JavaScript and TypeScript errors. Requires using TypeScript 2.6.0 or newer in the workspace. Default of `null` uses VS Code's locale.
- NpmSpecifies the path to the NPM executable used for Automatic Type Acquisition. Requires using TypeScript 2.3.4 or newer in the workspace.
- Preferences
- Preferences Import Module SpecifierPreferred path style for auto imports.
- Preferences Quote StylePreferred quote style to use for quick fixes: `single` quotes, `double` quotes, or `auto` infer quote type from existing imports. Requires using TypeScript 2.9 or newer in the workspace.
- Preferences Rename Shorthand PropertiesEnable/disable introducing aliases for object shorthand properties during renames. Requires using TypeScript 3.4 or newer in the workspace.
- References Code Lens
- References Code Lens EnabledEnable/disable references CodeLens in TypeScript files.
- Report Style Checks As WarningsReport style checks as warnings.
- Suggest
- Suggest Auto ImportsEnable/disable auto import suggestions. Requires using TypeScript 2.6.1 or newer in the workspace.
- Suggest Complete Function CallsComplete functions with their parameter signature.
- Suggest Complete JSDocsEnable/disable suggestion to complete JSDoc comments.
- Suggest EnabledEnabled/disable autocomplete suggestions.
- Suggest PathsEnable/disable suggestions for paths in import statements and require calls.
- Suggestion Actions
- Suggestion Actions EnabledEnable/disable suggestion diagnostics for TypeScript files in the editor. Requires using TypeScript 2.8 or newer in the workspace.
- Surveys
- Surveys EnabledEnabled/disable occasional surveys that help us improve VS Code's JavaScript and TypeScript support.
- Tsc
- Tsc Auto DetectControls auto detection of tsc tasks.
- TsdkSpecifies the folder path containing the tsserver and lib*.d.ts files to use.
- Tsserver
- Tsserver LogEnables logging of the TS server to a file. This log can be used to diagnose TS Server issues. The log may contain file paths, source code, and other potentially sensitive information from your project.
- Tsserver Plugin PathsAdditional paths to discover Typescript Language Service plugins. Requires using TypeScript 2.3.0 or newer in the workspace.
- Tsserver TraceEnables tracing of messages sent to the TS server. This trace can be used to diagnose TS Server issues. The trace may contain file paths, source code, and other potentially sensitive information from your project.
- Update Imports On File Move
- Update Imports On File Move EnabledEnable/disable automatic updating of import paths when you rename or move a file in VS Code. Requires using TypeScript 2.9 or newer in the workspace.
- Validate
- Validate EnableEnable/disable TypeScript validation.
- Vs Kubernetes
- KubernetesKubernetes configuration
- Vsdocker
- Image UserImage prefix for docker images ie 'docker.io/brendanburns'
- Webview
- TraceControls communication tracing with webviews.
- Workbench
- Appearance
- Appearance Color ThemeSpecifies the color theme used in the Theia.
- Color ThemeSpecifies the color theme used in the workbench.
- Command Palette
- Command Palette HistoryControls the number of recently used commands to keep in history for the command palette. Set to 0 to disable command history.
- Editor
- Editor Highlight Modified TabsControls whether a top border is drawn on modified (dirty) editor tabs or not.
- Icon ThemeSpecifies the icon theme used in the workbench or 'null' to not show any file icons.
- Layout
- Layout Save TimeoutTimeout in milliseconds before the Theia store it layout. Must be a positive integer.
- List
- List Open ModeControls how to open items in trees using the mouse.
- Silent NotificationsControls whether to suppress notification popups.
- Workspace
- Preserve WindowEnable opening workspaces in current window.
- Support Multi Root WorkspaceControls whether multi-root workspace support is enabled.
- Yaml
- CompletionEnable/disable completion feature
- Custom TagsCustom tags for the parser to use
- Format
- Format Bracket SpacingPrint spaces between brackets in objects
- Format EnableEnable/disable default YAML formatter
- Format Print WidthSpecify the line length that the printer will wrap on
- Format Prose WrapAlways: wrap prose if it exeeds the print width, Never: never wrap the prose, Preserve: wrap prose as-is
- Format Single QuoteUse single quotes instead of double quotes
- HoverEnable/disable hover feature
- SchemasAssociate schemas to YAML files in the current workspace
- Schema Store
- Schema Store EnableAutomatically pull available YAML schemas from JSON Schema Store
- Trace
- Trace ServerTraces the communication between VSCode and the YAML language service.
- ValidateEnable/disable validation feature