• Visual Studio Code常用设置及快捷键


    1. Visual Studio Code常用设置

    {
        // 控制是否显示 minimap(缩略图)
        "editor.minimap.enabled": false,
    
        // 控制折行方式:根据视区宽度折行
        "editor.wordWrap": "on",
    }

    2. Visual Studio Code快捷键

    2.1 基础编辑

    快捷键功能
    Ctrl + X 剪切行(空选定) Cut line (empty selection)
    Ctrl + C 复制行(空选定)Copy line (empty selection)
    Alt + / 向上/向下移动行 Move line up/down
    Shift + Delete 删除行 Delete line
    Ctrl + / 切换行注释 Toggle line comment
    Shift + Alt + F 格式化文档 Format document

    2.2 查找与替换

    快捷键功能
    Ctrl + F 查找 Find
    Ctrl + H 替换 Replace
    F3 / Shift + F3 查找下一个/上一个 Find next/previous

    3. Visual Studio Code常用插件

    插件用途
    Auto Close Tag 自动闭合HTML标签
    Auto Rename Tag 修改HTML标签时,自动修改匹配的标签
    Path Intellisense 路径提示
    ESLint JavaScript语法检查
    HTML Snippets HTML5标签提示
    HTMLHint HTML格式提示
    IntelliSense for CSS class names in HTML HTML中类样式提示
    npm 运行npm命令
    Npm Intellisense NPM导入时提示已安装的模块

    4. Visual Studio Code中使用Git

    4.1 设置user.name及user.email

      全局设置:

    git config --global user.name "李兵"
    git config --global user.email "libingql@126.com"

      单个项目设置:找到项目目录的.git文件夹,打开之后找到config文件,在最后加上。

    [user]
    name = 李兵
    email = libingql@126.com
  • 相关阅读:
    【NIPS 2018】完整论文下载链接
    【今日CV 视觉论文速览】30 Nov 2018
    【超好玩的在线AI项目】浏览器里玩AI------持续更新
    hdu 4035 Maze 概率DP
    hdu 4089 Activation 概率DP
    hdu 4405 Aeroplane chess 概率DP
    zoj 3329 One Person Game 概率DP
    poj 2096 Collecting Bugs 概率DP
    poj 3744 Scout YYF I
    2013 Multi-University Training Contest 5 Partition
  • 原文地址:https://www.cnblogs.com/libingql/p/8967301.html
Copyright © 2020-2023  润新知