Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit a8954df

Browse files
committed
chore: add VSCode configuration and guide
1 parent 4093953 commit a8954df

File tree

3 files changed

+70
-0
lines changed

3 files changed

+70
-0
lines changed

.vscode/README.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Visual Studio Code Configuration
2+
3+
This folder contains opt-out [Workspace Settings](https://code.visualstudio.com/docs/getstarted/settings)
4+
and [Extension recommendations](https://code.visualstudio.com/docs/editor/extension-gallery#_workspace-recommended-extensions)
5+
that the Angular team recommends.
6+
7+
## Installation
8+
9+
To use the configuration follow the steps below:
10+
11+
- To show the recommended extensions, select "Extensions: Show recommended extensions"
12+
  in the [Command Palette](https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette).
13+
- Install the recommended extensions of [extensions.json](extensions.json)
14+
- Restart the editor
15+
16+
## Editing `.vscode/settings.json`
17+
18+
If you want to add additional configuration items, please note that any configuration you
19+
add here will be used by many users.
20+
21+
Try to restrict these settings to things that help ease the development process and
22+
avoid altering the user workflow whenever possible.

.vscode/extensions.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
3+
// Extension identifier format: ${publisher}.${name}. Example: firefox-devtools.vscode-firefox-debug
4+
5+
// List of extensions which should be recommended for users of this workspace.
6+
"recommendations": [
7+
"editorconfig.editorconfig",
8+
"dbaeumer.vscode-eslint",
9+
"christian-kohler.path-intellisense",
10+
"eg2.vscode-npm-script",
11+
"firefox-devtools.vscode-firefox-debug",
12+
"dbaeumer.jshint",
13+
"msjsdiag.debugger-for-chrome",
14+
"pkief.material-icon-theme"
15+
]
16+
}

.vscode/settings.json

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"editor.tabCompletion": "on",
3+
"files.eol": "\n",
4+
"files.exclude": {
5+
"**/.git": true,
6+
"**/.DS_Store": true
7+
},
8+
// Exclude third-party modules and generated artifacts from watcher/editor searches.
9+
"files.watcherExclude": {
10+
"**/.git/objects/**": true,
11+
"**/.git/subtree-cache/**": true,
12+
"**/node_modules/**": true,
13+
"**/dist/**": true
14+
},
15+
"search.exclude": {
16+
"**/node_modules": true,
17+
"**/bower_components": true,
18+
"**/dist": true
19+
},
20+
"git.ignoreLimitWarning": true,
21+
// Wrap attributes.
22+
// - auto: Wrap attributes only when line length is exceeded.
23+
// - force: Wrap each attribute except first.
24+
// - force-aligned: Wrap each attribute except first and keep aligned.
25+
// - force-expand-multiline: Wrap each attribute.
26+
// - aligned-multiple: Wrap when line length is exceeded, align attributes vertically.
27+
// - preserve: Preserve wrapping of attributes
28+
// - preserve-aligned: Preserve wrapping of attributes but align.
29+
"html.format.wrapAttributes": "auto",
30+
// Maximum amount of characters per line (0 = disable).
31+
"html.format.wrapLineLength": 100
32+
}

0 commit comments

Comments
 (0)