X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=.vscode%2Fsettings.json;h=59cafea19558f858e43148def7ee5ade329688e3;hb=247bb7c2db5f0d48178398599348249bf886ebbc;hp=033ceaede8f5bc81e234da1ef207d71786a367da;hpb=fb2f6b918beb0a994ad304bfd678ef0c5c562210;p=src%2Fxds%2Fxds-agent.git diff --git a/.vscode/settings.json b/.vscode/settings.json index 033ceae..59cafea 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,72 +1,112 @@ // Place your settings in this file to overwrite default and user settings. { - // Configure glob patterns for excluding files and folders. - "files.exclude": { - ".tmp": true, - ".git": true, - "glide.lock": true, - "vendor": true, - "debug": true, - "bin": true, - "tools": true, - "webapp/dist": true, - "webapp/node_modules": true - }, - // Specify paths/files to ignore. (Supports Globs) - "cSpell.ignorePaths": [ - "**/node_modules/**", - "**/vscode-extension/**", - "**/.git/**", - "**/vendor/**", - ".vscode", - "typings" - ], - // Words to add to dictionary for a workspace. - "cSpell.words": [ - "apiv", - "gonic", - "devel", - "csrffound", - "Syncthing", - "STID", - "ISTCONFIG", - "socketio", - "ldflags", - "SThg", - "stconfig", - "Intf", - "dismissible", - "rpath", - "WSID", - "sess", - "IXDS", - "golib", - "xdsapi", - "xdsconfig", - "xdsserver", - "xdsagent", - "nbsp", - "Inot", - "inotify", - "cmdi", - "sdkid", - "Flds", - "prjs", - "iosk", - "CIFS", - "IPROJECT", - "unregister", - "conv", - "PATHMAP", - "nospace", - "graphx", - "Truthy", - "darkviolet", - "dwnl" - ], - - // codelyzer - "tslint.rulesDirectory": "./webapp/node_modules/codelyzer", - "typescript.tsdk": "webapp/node_modules/typescript/lib", - "tslint.configFile": "webapp/tslint.json" + // Specify GOPATH here to override the one that is set as environment variable. The inferred GOPATH from workspace root overrides this, if go.inferGopath is set to true. + "go.gopath": "${workspaceRoot}/../../../../../..", + "go.toolsEnvVars": { + "GO111MODULE": "on" + }, + // The number of spaces a tab is equal to. This setting is overriden based on the file contents when `editor.detectIndentation` is on. + "editor.tabSize": 4, + // Insert spaces when pressing Tab. This setting is overriden based on the file contents when `editor.detectIndentation` is on. + "editor.insertSpaces": true, + // When opening a file, `editor.tabSize` and `editor.insertSpaces` will be detected based on the file contents. + "editor.detectIndentation": true, + // .jsbeautifyrc not at root directory but under webapp/ + "beautify.config": "webapp/.jsbeautifyrc", + // Configure glob patterns for excluding files and folders. + "files.exclude": { + ".tmp": true, + ".git": true, + "vendor": true, + "debug": true, + "bin": true, + "tools": true, + "webapp*/dist": true, + "**/node_modules": true, + }, + // Specify paths/files to ignore. (Supports Globs) + "cSpell.ignorePaths": [ + "**/node_modules/**", + "**/vscode-extension/**", + "**/.git/**", + "**/vendor/**", + "**/webapp/dist/**", + ".vscode", + "typings" + ], + // Words to add to dictionary for a workspace. + "cSpell.words": [ + "CIFS", + "Checkboxes", + "EVTSDK", + "EXEPATH", + "Flds", + "Grafana", + "IPROJECT", + "ISTCONFIG", + "IXDS", + "Inot", + "Intf", + "PATHMAP", + "STID", + "SThg", + "Sillyf", + "Syncthing", + "Truthy", + "WSID", + "XDSSUPERV", + "abortinstall", + "apiv", + "cmdi", + "conv", + "csrffound", + "darkviolet", + "devel", + "dismissible", + "dwnl", + "evts", + "franciscocpg", + "gdbserver", + "gerrit", + "golib", + "gonic", + "graphx", + "inotify", + "iosk", + "ldflags", + "leftbar", + "nbsp", + "nospace", + "pageview", + "prebuild", + "priv", + "prjs", + "reflectme", + "rpath", + "sdkid", + "sebd", + "sess", + "socketio", + "stconfig", + "subpath", + "tabindex", + "tabset", + "tgts", + "topnav", + "topo", + "unmarshall", + "unregister", + "urfave", + "xaapiv", + "xdsagent", + "xdsapi", + "xdsconfig", + "xdspvr", + "xdsserver", + "xsapiv" + ], + // codelyzer + "tslint.rulesDirectory": "./webapp/node_modules/codelyzer", + "typescript.tsdk": "webapp/node_modules/typescript/lib", + "tslint.configFile": "webapp/tslint.json" }