Visual Studio Code 的个人配置

本文介绍了作者对Visual Studio Code的喜爱,强调其在编写多种编程语言时的便捷性,尤其是与Visual Studio类似的快捷键。此外,分享了如何创建Markdown文件并使用Ctrl+Shift+V在编辑和预览模式间切换的个人设置技巧。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

孙广东    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    **.

 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值