mowatermelon / studyNode

Learning record
MIT License
4 stars 1 forks source link

vscode功能推荐 #123

Open mowatermelon opened 6 years ago

mowatermelon commented 6 years ago

引入了minimap(这个好啊)。在配置文件里面启用"editor.minimap.enabled": true;当然还有一些额外的小地图参数 内置JSDOC功能,又可以少掉一个插件, **触发 复制内容保持格式化,逼格满满,适用于复制到文档什么的 目录树引入了命令控制,可以自定义绑定按键啦,比如新建目录和文件 Debug功能强化,支持列断点,溜的飞起额 某些编程语言默认执行的配置文件设置 terminal输出的链接可以直接点击访问啦 HTML DOM的快速跳转 Debug的配置项更多了,天生支持gulp这些了。这些需要自行去研究文档哈

mowatermelon commented 6 years ago

March 2018 (version 1.22)


Update 1.22.2: The update addresses these issues.


Welcome to the March 2018 release of Visual Studio Code. There are a number of significant updates in this version that we hope you will like, some of the key highlights include:

If you'd like to read these release notes online, go to Updates on code.visualstudio.com. You can also check out this 1.22 release highlights video from Cloud Developer Advocate Brian Clark.

The release notes are arranged in the following sections related to VS Code focus areas. Here are some further updates:

mowatermelon commented 6 years ago

在launch.json中会使用到一些预定变量, 这些变量的具体含义如下

${workspaceRoot} the path of the folder opened in VS Code(VSCode中打开文件夹的路径) ${workspaceRootFolderName} the name of the folder opened in VS Code without any solidus (/)(VSCode中打开文件夹的路径, 但不包含"/") ${file} the current opened file(当前打开的文件) ${relativeFile} the current opened file relative to workspaceRoot(当前打开的文件,相对于workspaceRoot) ${fileBasename} the current opened file's basename(当前打开文件的文件名, 不含扩展名) ${fileDirname} the current opened file's dirname(当前打开文件的目录名) ${fileExtname} the current opened file's extension(当前打开文件的扩展名) ${cwd} the task runner's current working directory on startup()

mowatermelon commented 6 years ago

图片

{
    // 使用 IntelliSense 了解相关属性。 
    // 悬停以查看现有属性的描述。
    // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "node",
            "request": "attach",
            "name": "Attach by Process ID",
            "processId": "${command:PickProcess}",
            "port": 9229,
            "outFiles": [

            ]
        },
        {
            "type": "node",
            "request": "launch",
            "name": "启动程序",
            "program": "${file}"
        },
        {  
        "type": "node",  
        "request": "launch",  
        "name": "Launch vue Program",  
        "program": "${workspaceRoot}\\build\\dev-server.js"  
       } 
    ]
}

图片