markdown VS代码设置/扩展

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown VS代码设置/扩展相关的知识,希望对你有一定的参考价值。

{
    "trailing-spaces.trimOnSave": true,
    "phpcs.standard": "WordPress-Extra",
    "files.eol": "\n",
    "editor.renderWhitespace": "all",
    "sasslint.configFile": "C:/Users/{user}/.sass-lint.yaml",
    "editor.fontSize": 16,
    "editor.insertSpaces": false,
    "editor.wordWrap": "on",
    "files.insertFinalNewline": true,
    "files.associations": {
        "*.php": "php",
        "*.class": "php",
        "*.tpl": "php",
        "*.phtml": "php"
    },
    "workbench.colorTheme": "Firewatch Theme",
    "editor.multiCursorModifier": "ctrlCmd",
    "editor.snippetSuggestions": "top",
    "editor.formatOnPaste": false,
    "files.trimFinalNewlines": true,
    "php.suggest.basic": false,
    "csscomb.formatOnSave": true,
    "csscomb.preset": {
        "remove-empty-rulesets": false,
        "always-semicolon": true,
        "color-case": "upper",
        "block-indent": "\t",
        "color-shorthand": false,
        "element-case": "lower",
        "leading-zero": true,
        "quotes": "single",
        "sort-order": [
            [
                "$import",
                "$variable",
                "$extend",
                "$include"
            ],
            [
                "..."
            ],
            [
                "$include mq"
            ]
        ],
        "sort-order-fallback": "abc",
        "space-before-colon": "",
        "space-after-colon": " ",
        "space-before-combinator": " ",
        "space-after-combinator": " ",
        "space-between-declarations": "\n",
        "space-before-opening-brace": " ",
        "space-after-opening-brace": "\n",
        "space-after-selector-delimiter": "\n",
        "space-before-selector-delimiter": "",
        "space-before-closing-brace": "\n",
        "strip-spaces": true,
        "unitless-zero": true
    },
    "[javascript]": {
        "editor.formatOnSave": true
    },
    "prettier.printWidth": 120,
    "prettier.tabWidth": 4,
    "prettier.singleQuote": true,
    "prettier.trailingComma": "es5",
    "prettier.useTabs": true,
    "bracketPairColorizer.consecutivePairColors": [
        "()",
        "[]",
        "{}",
        [
            "Orange",
            "Coral",
            "Gold"
        ],
        "Red"
    ],
    "git.ignoreMissingGitWarning": true,
    "explorer.confirmDelete": false,
    "window.zoomLevel": 0,
    "gitlens.advanced.messages": {
        "suppressShowKeyBindingsNotice": true
    },
    "gitlens.defaultDateStyle": "absolute",
    "gitlens.currentLine.enabled": false,
    "window.menuBarVisibility": "default",
    "scss.lint.emptyRules": "ignore"
}
{
    "name": "{name}",
    "protocol": "sftp",
    "host": "{host}",
    "username": "{username}",
    "password": "{password}",
    "remotePath": "{server-path/to/files}",
    "watcher": {
        "files": "**/*.*",
        "autoUpload": true,
        "autoDelete": true
    },
    "ignore": [
        ".vscode",
        ".git",
        ".DS_Store"
    ],
    "profiles": {
        "dev": {
            "host": "{host}",
            "remotePath": "{server-path}",
            "uploadOnSave": true
        }
    }
}
{
	"phpcs.standard": "PSR2",
	"editor.detectIndentation": false,
	"editor.insertSpaces": true
}
# Extensions
* Auto Close Tag - Jun Han - Had issues.
* [Auto Rename Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag) - Jun Han - Had issues.
* [Bracket Pair Colorizer](https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer) - CoenraadS
* [Code Runner](https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner) - Jun Han - Never tested.
* [CSS Peak](https://marketplace.visualstudio.com/items?itemName=pranaygp.vscode-css-peek) - Pranay Prakash - Not really needed.
* CSScomb - mrmlnc
  * http://csscomb.com/config
  * https://github.com/csscomb/csscomb.js/blob/master/doc/options.md
* Debugger for Chrome - Microsoft - Never could get it to work.
* ESLint - Dirk Baeumer
* [Git Lens - git blame annotations, code lens, and more](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens) - Eric Amodio
* htmltagwrap - Brad Gashler
* [IntelliSense for CSS class names](https://marketplace.visualstudio.com/items?itemName=Zignd.html-css-class-completion) - Zignd - No longer use this.
* IntelliSense for CSS, SCSS class names in HTML and Slim - Gencer W. Genç // Forked and improved from above extension.
* My Firewatch Theme - Krzysztof Wisznarewski
* PHP Debug - Felix Becker
* PHP IntelliSense - Felix Becker
* phpcs - loannis Kappas
* [Prettier - Code formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) - Esben Petersen
* Sass Lint - glen-84
* SCSS IntelliSense - mrmlnc
* [sftp](https://marketplace.visualstudio.com/items?itemName=liximomo.sftp) - liximomo
* Sort lines - Daniel Imms
* Sublime Text Keymap - Microsoft
* Trailing Spaces - Shardul Mahadik

以上是关于markdown VS代码设置/扩展的主要内容,如果未能解决你的问题,请参考以下文章

markdown EDA计算机的VS代码设置

vscode中预览markdown文件

VS代码扩展:如何为分机的设置/配置设置顺序/优先级?

使用vs code编写Markdown文档以及markdown语法详解

markdown 如何在Win10上设置pipenv与VS Code一起使用

使用VS Code编写Markdown文件