• win10 添加项目右键用vscode打开


    1、新建reg文件;在vscode安装目录下新建一个文本文件,然后将文件后缀改为:*.reg,文件名任意,例如:vsCodeOpenFolder.reg。

    2、编写文本文件内容.将下面的内容Copy到刚才新建的*.reg文件中,文本内容如下:

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT*shellVSCode]
    @="Open with Code"
    "Icon"="D:\Microsoft VS Code\Code.exe"

    [HKEY_CLASSES_ROOT*shellVSCodecommand]
    @=""D:\Microsoft VS Code\Code.exe" "%1""

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOTDirectoryshellVSCode]
    @="Open with Code"
    "Icon"="D:\Microsoft VS Code\Code.exe"

    [HKEY_CLASSES_ROOTDirectoryshellVSCodecommand]
    @=""D:\Microsoft VS Code\Code.exe" "%V""

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOTDirectoryBackgroundshellVSCode]
    @="Open with Code"
    "Icon"="D:\Microsoft VS Code\Code.exe"

    [HKEY_CLASSES_ROOTDirectoryBackgroundshellVSCodecommand]
    @=""D:\Microsoft VS Code\Code.exe" "%V""

    • 文件编辑好了之后保存关闭.然后双击运行 vsCodeOpenFolder.reg ,遇到提示点击 “确定"或"是”;
  • 相关阅读:
    WebServices Get
    字符出现次数
    正则
    防止AutoPost
    转双问号,单问号
    GetData
    UpdatePanel
    字居中
    C# 面向对象之多态
    C# 委托之把委托从委托链(多播委托)移除
  • 原文地址:https://www.cnblogs.com/dhcnblog/p/10108996.html
Copyright © 2020-2023  润新知