# CMD
set HTTP_PROXY=http://127.0.0.1:10809 
set HTTPS_PROXY=http://127.0.0.1:10809

# PowerShell
$env:http_proxy="<http://127.0.0.1:10809>";
$env:https_proxy="<http://127.0.0.1:10809>";

$env:http_proxy="<http://127.0.0.1:49674>";
$env:https_proxy="<http://127.0.0.1:49674>";

2024-05-09 备份的 VSCode 配置。

{
  // Determines which settings editor to use by default.
  //  - ui: Use the settings UI editor.
  //  - json: Use the JSON file editor.
  "workbench.settings.editor": "json",
  // Controls whether to use the split JSON editor when editing settings as JSON.
  "workbench.settings.useSplitJSON": true,
  "workbench.editor.wrapTabs": true,
  // Controls whether the explorer should automatically reveal and select files when opening them.
  //  - true: Files will be revealed and selected.
  //  - false: Files will not be revealed and selected.
  //  - focusNoScroll: Files will not be scrolled into view, but will still be focused.
  "explorer.autoReveal": true,
  // Controls whether suggestions should automatically show up while typing.
  "editor.quickSuggestions": {
    "other": true,
    "comments": true,
    "strings": true
  },
  // When enabled, Emmet abbreviations are expanded when pressing TAB.
  "emmet.triggerExpansionOnTab": true,
  // If `true`, then Emmet suggestions will show up as snippets allowing you to order them as per `editor.snippetSuggestions` setting.
  "emmet.showSuggestionsAsSnippets": true,
  // Controls whether snippets are shown with other suggestions and how they are sorted.
  "editor.snippetSuggestions": "top",
  // Controls 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.
  "editor.acceptSuggestionOnCommitCharacter": false,
  "editor.acceptSuggestionOnEnter": "off",
  "editor.suggestSelection": "first",
  "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
  "workbench.settings.openDefaultSettings": true,
  "diffEditor.ignoreTrimWhitespace": false,
  "editor.tabSize": 2,
  "javascript.suggestionActions.enabled": false,
  "typescript.suggestionActions.enabled": false,
  "files.insertFinalNewline": true,
  "files.trimTrailingWhitespace": true,
  "files.trimFinalNewlines": true,
  "workbench.iconTheme": "material-icon-theme",
  "editor.fontFamily": "Fira Code, Consolas, 'Courier New', monospace",
  "editor.fontSize": 15,
  "editor.lineHeight": 25,
  "editor.letterSpacing": 0.5,
  "editor.fontWeight": "400",
  "editor.fontLigatures": true,
  "editor.cursorStyle": "line",
  // "editor.cursorWidth": 2,
  "editor.cursorBlinking": "solid",
  "editor.renderWhitespace": "all",
  "workbench.startupEditor": "newUntitledFile",
  "editor.glyphMargin": true,
  "explorer.confirmDragAndDrop": false,
  // Controls the font family of the terminal, this defaults to `editor.fontFamily`'s value.
  "terminal.integrated.fontFamily": "Fira code, monospace",
  "terminal.integrated.macOptionIsMeta": true,
  "emmet.includeLanguages": {
    "wxml": "html",
    "postcss": "css"
  },
  "emmet.syntaxProfiles": {
    "postcss": "css"
  },
  "colorInfo.languages": [
    {
      "selector": "css",
      "colors": "css"
    },
    {
      "selector": "sass",
      "colors": "css"
    },
    {
      "selector": "scss",
      "colors": "css"
    },
    {
      "selector": "less",
      "colors": "css"
    },
    {
      "selector": "postcss",
      "colors": "css"
    }
  ],
  "update.enableWindowsBackgroundUpdates": false,
  // Enable/disable inlay hints for member values in enum declarations:
  // ```typescript
  //
  // enum MyValue {
  // 	A /* = 0 */;
  // 	B /* = 1 */;
  // }
  //
  // ```
  // Requires using TypeScript 4.4+ in the workspace.
  "javascript.inlayHints.enumMemberValues.enabled": true,
  // Enable/disable inlay hints for implicit return types on function signatures:
  // ```typescript
  //
  // function foo() /* :number */ {
  // 	return Date.now();
  // }
  //
  // ```
  // Requires using TypeScript 4.4+ in the workspace.
  "javascript.inlayHints.functionLikeReturnTypes.enabled": true,
  // Enable/disable inlay hints for parameter names:
  // ```typescript
  //
  // parseInt(/* str: */ '123', /* radix: */ 8)
  //
  // ```
  // Requires using TypeScript 4.4+ in the workspace.
  //  - none: Disable parameter name hints.
  //  - literals: Enable parameter name hints only for literal arguments.
  //  - all: Enable parameter name hints for literal and non-literal arguments.
  "javascript.inlayHints.parameterNames.enabled": "all",
  // Suppress parameter name hints on arguments whose text is identical to the parameter name.
  "javascript.inlayHints.parameterNames.suppressWhenArgumentMatchesName": false,
  // Enable/disable inlay hints for implicit parameter types:
  // ```typescript
  //
  // el.addEventListener('click', e /* :MouseEvent */ => ...)
  //
  // ```
  // Requires using TypeScript 4.4+ in the workspace.
  "javascript.inlayHints.parameterTypes.enabled": false,
  // Enable/disable inlay hints for implicit types on property declarations:
  // ```typescript
  //
  // class Foo {
  // 	prop /* :number */ = Date.now;
  // }
  //
  // ```
  // Requires using TypeScript 4.4+ in the workspace.
  "javascript.inlayHints.propertyDeclarationTypes.enabled": false,
  // Enable/disable inlay hints for implicit variable types:
  // ```typescript
  //
  // const foo /* :number */ = Date.now();
  //
  // ```
  // Requires using TypeScript 4.4+ in the workspace.
  "javascript.inlayHints.variableTypes.enabled": false,
  // Controls whether bracket pair colorization is enabled or not. Use 'workbench.colorCustomizations' to override the bracket highlight colors.
  "editor.bracketPairColorization.enabled": true,
  // Controls whether to preview the suggestion outcome in the editor.
  "editor.suggest.preview": true,
  "editor.guides.bracketPairs": true,
  "editor.inlineSuggest.enabled": true,
  "github.copilot.inlineSuggest.enable": true,
  "github.copilot.enable": {
    "*": true,
    "plaintext": false,
    "markdown": true,
    "scminput": false
  },
  "lit-html.tags": [
    "template",
    "raw",
    "mark",
    "style",
    "actuate",
    "view",
    "html"
  ],
  "lit-plugin.htmlTemplateTags": [
    "template",
    "raw",
    "mark",
    "style",
    "actuate",
    "view",
    "html"
  ],
  "window.titleBarStyle": "custom",
  "workbench.layoutControl.enabled": true,
  "remote.portsAttributes": {
    "443": {
      "protocol": "https"
    },
    "8443": {
      "protocol": "https"
    },
    "3000": {
      "onAutoForward": "notify"
    }
  },
  "typescript.updateImportsOnFileMove.enabled": "always",
  "tailwindCSS.includeLanguages": {
    "typescript": "html",
    "typescriptreact": "html",
    "javascript": "html",
    "javascriptreact": "html",
    "vue": "html",
    "plaintext": "html"
  },
  "tailwindCSS.emmetCompletions": true,
  "terminal.integrated.enableMultiLinePasteWarning": false,
  "editor.maxTokenizationLineLength": 40000,
  "editor.stickyScroll.enabled": true,
  "editor.accessibilitySupport": "off",
  "javascript.updateImportsOnFileMove.enabled": "always",
  // "[prisma]": {
  //     "editor.defaultFormatter": "Prisma.prisma"
  // },
  // "[vue]": {
  //     // "editor.defaultFormatter": "Vue.volar"
  //     "editor.defaultFormatter": "dbaeumer.vscode-eslint"
  // },
  // "[yaml]": {
  //     "editor.defaultFormatter": "redhat.vscode-yaml",
  //     "editor.tabSize": 2
  // },
  // "[handlebars]": {
  //     "editor.defaultFormatter": "vscode.html-language-features"
  // },
  // "[css]": {
  //     "editor.defaultFormatter": "vscode.css-language-features"
  // },
  // "[scss]": {
  //     "editor.defaultFormatter": "vscode.css-language-features"
  // },
  // "[postcss]": {
  //     "editor.defaultFormatter": "esbenp.prettier-vscode"
  // },
  // "[html]": {
  //     // "editor.defaultFormatter": "vscode.html-language-features"
  //     "editor.defaultFormatter": "dbaeumer.vscode-eslint",
  //     "editor.autoClosingBrackets": "always"
  // },
  // "[javascript]": {
  //     "editor.defaultFormatter": "dbaeumer.vscode-eslint",
  //     "editor.autoClosingBrackets": "always"
  // },
  // "[javascriptreact]": {
  //     "editor.defaultFormatter": "dbaeumer.vscode-eslint"
  // },
  // "[typescript]": {
  //     "editor.defaultFormatter": "dbaeumer.vscode-eslint",
  //     "editor.autoClosingBrackets": "always"
  // },
  // "[typescriptreact]": {
  //     "editor.defaultFormatter": "dbaeumer.vscode-eslint"
  // },
  // "[json]": {
  //     "editor.defaultFormatter": "dbaeumer.vscode-eslint",
  //     "editor.autoClosingBrackets": "always"
  // },
  // "[jsonc]": {
  //     "editor.defaultFormatter": "vscode.json-language-features",
  //     "editor.autoClosingBrackets": "always"
  // },
  // "[json5]": {
  //     "editor.defaultFormatter": "dbaeumer.vscode-eslint",
  //     "editor.autoClosingBrackets": "always"
  // },
  // "[python]": {
  //     "editor.formatOnType": true
  // },
  "files.autoSave": "off",
  "files.associations": {
    "*.cjson": "jsonc",
    "*.wxss": "css",
    "*.wxs": "javascript",
    ".cjs": "javascript",
    ".mjs": "javascript",
    "*.css": "postcss",
    ".vue": "vue",
    ".md": "markdown",
    ".code-snippets": "json"
  },
  "eslint.format.enable": true,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "explicit"
  },
  "redhat.telemetry.enabled": false,
  "githubPullRequests.pullBranch": "never",
  "[typescript]": {
    "editor.defaultFormatter": "dbaeumer.vscode-eslint"
  },
  "thunder-client.saveToWorkspace": true,
  "terminal.integrated.defaultProfile.windows": "Git Bash",
  "window.zoomLevel": -1,
  "workbench.editor.enablePreview": false,
  "[typescriptreact]": {
    "editor.defaultFormatter": "vscode.typescript-language-features"
  },
  "workbench.colorTheme": "GitHub Dark",
  "explorer.confirmDelete": false,
  "nxConsole.showNodeVersionOnStartup": false
}