IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    [原]Visual Studio Code 的个人配置

    u010019717发表于 2016-07-16 00:41:50
    love 0

    孙广东    2016.7.16            勿忘初心, 坚持!

                  越来越喜欢 Visual Studio Code 编辑器。    编写Lua、Python、Golang、C#、 Node.js   、Shader 、   Markdown(还很不友好)。  更重要的是 很多快捷键跟 Visual Studio 一致。

               反正每次更新都感觉越来越好了!                   使用它开发前端也很爽

    下面是我的个人的 用户设置  (不使用 工作区设置)

    {
        //-------- 搜索配置 --------
            "search.exclude": {
            "**/node_modules": true,
            "**/bower_components": true,
            
            "**/.git": true,
            "**/.DS_Store": true,
            "**/*.meta": true,
            "**/*.*.meta": true,
            "**/*.unity": true,
            "**/*.unityproj": true,
            "**/*.mat": true,
            "**/*.fbx": true,
            "**/*.FBX": true,
            "**/*.tga": true,
            "**/*.cubemap": true,
            "**/**.prefab": true,
            "**/Library": true,
            "**/ProjectSettings": true,
            "**/Temp": true,
            "**/*.exe": true
        },
            // 配置 glob 模式以排除文件和文件夹。
        "files.exclude": {
            "**/.git": true,
            "**/.DS_Store": true,
            "**/*.meta": true,
            "**/*.*.meta": true,
            "**/*.unity": true,
            "**/*.unityproj": true,
            "**/*.mat": true,
            "**/*.fbx": true,
            "**/*.FBX": true,
            "**/*.tga": true,
            "**/*.cubemap": true,
            "**/**.prefab": true,
            "**/Library": true,
            "**/ProjectSettings": true,
            "**/Temp": true,
            "**/*.exe": true
        },
        // 控制编辑器是否应呈现空白字符
        "editor.renderWhitespace": true,
            // 控制字体大小。
        "editor.fontSize": 18,
            // 是否启用了 GIT
        "git.enabled": false,
    
        // 是否应该呈现缩进指南
        "editor.renderIndentGuides":true,
    
        // Ctrl + 鼠标滚轴可以缩放视图
        "editor.mouseWheelZoom" : true,
    
    
         //  这样 visual code 就可以调试和运行 python代码了!   当前了也要安装插件
        "python.pythonPath": "E:/Program Files/Python35/python.exe",
    
        // Whether to lint Python files.
        "python.linting.enabled": false,  
    
        // 打开多个文件的时候 Tab页的方式显示(否则只能是分屏显示)
        "workbench.editor.showTabs": true,
        // 新打开的显示在最左面
        "workbench.editor.openPositioning": "left"
    
        // lua 的调试工具   Lua and Ravi 5.3 Debugger  https://marketplace.visualstudio.com/items?itemName=ravilang.ravi-debug
          
        //  go 插件也有调试功能, 但是要配置具体的环境变量!
    }


     

    1. 创建 Markdown 并将其保存为.md 文件,

    比如 MarkDown  的内容:

    # 你知道你可以 在VS Code中写,预览,风格,和编译Markdown?
    
    ## The beakdown
    
    


    2. 编辑模式 和 预览模式之间切换 **   Ctri + Shift + V    **.

     



沪ICP备19023445号-2号
友情链接