Visual Studioのコードの設定

Visual Studioのコード

1.23.0始まりVS Code、それはもはや、各言語バージョンではデフォルトで設けられていないが、代わりにプラグインの言語パックを使用する方法を提供しています。

アドオンストアの検索ではChinese (Simplified)、インストールします。

同期のVisual Studioのコードのプラグインと設定

  • 使用ctrl+shift+Xオープン拡張検索、検索のインストールがSettings Sync、インストールは完了クリックです重新加载

  • VS code使用のショートカットalt+shift+u、それは自動的に、ブラウザにジャンプしますに行くこのリンク。クリックGenerate new tokenして入力しToken description、名前であり、Select scopesチェックしgist、[OK]をクリックしますGenerate token、生成されますtoken。コピーをコピーtokenして貼り付けるにVS codeキャリッジ、設定をアップロードしますそして、プラグイン情報、アップロードが完了した後にこのようなものがあるでしょう:
    `` `
    CODE SETTINGS SYNC UPLOAD概要
    バージョン:2.9.2
    --------------------
    GitHubのトークン: xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    GitHubの要旨:xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    GitHubの要旨タイプ:秘密

    Visual Studioのコードを再起動すると、色と、ファイルのアイコンテーマを適用するために必要な場合があります。
    --------------------
    ファイルのアップロード:

    削除された拡張モジュール:

    :拡張機能が追加されました
    コードの設定同期v2.9.2
    vscode-アイコンv7.23.0
    vscode言語パック-ZH-ハンスv1.23.4
    --------------------
    完了。
    `` `

  • GitHubGistで、あるでしょうcloudSettings、オープンリンク、先ほど作成した上でクリックしtokenた説明では、Token description追加した後xxxx_<GitHubGist>、これを忘れを防止することができますGitHubGist値を。

  • コピーしGitHub Gist、新しいコンピュータのインストールに関する情報をSettings Sync、設定を開いてalt+shift+uGitHub Gistペースト値を考慮に入れ、ダウンロードの同期を待ちます。

Visual Studioのコードの設定

  • Visual Studioのコードのショートカット

    • 書くmarkdownプレビューのショートカットを書き込み中:ctrl + k押しv
  • Visual Studioのコードのプラグイン

    • Python
    • Go
    • Anaconda Extension Pack
    • Material Icon Theme
  • settings.json設定

    {
        "editor.fontSize": 16,
        // 原始字体配置 "Menlo, Monaco, 'Courier New', monospace",
        "editor.fontFamily": "Monaco",
        "editor.suggest.snippetsPreventQuickSuggestions": false,
        "editor.suggest.localityBonus": true,
        "editor.minimap.showSlider": "always",
        "editor.suggestSelection": "first",
    
        "python.venvPath": "~/miniconda3/envs",
        // 函数自动补全括号
        "python.autoComplete.addBrackets": true,
    
        "workbench.fontAliasing": "auto",
        "workbench.colorTheme": "Default Light+",
        "workbench.iconTheme": "material-icon-theme",
    
        "window.zoomLevel": 0,
    
        "files.insertFinalNewline": true,
        "files.autoGuessEncoding": true,
        "files.trimFinalNewlines": true,
        "files.trimTrailingWhitespace": true,
        "files.autoSave": "afterDelay",
    
        "terminal.integrated.fontFamily": "Monaco",
        "terminal.integrated.fontSize": 16,
        // 解决vscode自动进入anaconda环境时,python依旧是系统路径的问题
        "terminal.integrated.env.osx": {
            "PATH": ""
        },
        "search.showLineNumbers": true,
        "workbench.editor.highlightModifiedTabs": true,
    }

おすすめ

転載: www.cnblogs.com/zzhaolei/p/11068167.html