vscode对一些软件的调试插件。

vscode对一些软件的调试插件。

 1、ae ,f1然后选择运行 after effect 脚本

 


2、maya,右键send code to maya


3、max,ctrl+e运行脚本到max


4、unity

从在Visual Studio代码使用.NET的核心:

1、安装.NET Core SDK,链接: https://dotnet.microsoft.com/download/dotnet-core/thank-you/sdk-5.0.100-windows-x64-installer?journey=vs-code

2、[仅Windows]注销或重新启动Windows,以使更改%PATH%生效。

在Vscode 中下载插件
1、c#支持(新版本不支持断点调试,用csharp-1.21.12.vsix,并禁止更新)

 

2、unity插件Unity Snippets 和 Unity Code Snippets

unity tools

Debugger for Unity

Unity的调试工具

这个Unity打开工程的时候会在.vscode生成一个launch.json 如果出现错误调试不成功就删除这个launch.json 从打开vscode生成,加入以下代码就可以看到
 


 // Use IntelliSense to learn about possible attributes.

    // Hover to view descriptions of existing attributes.
    // For more information, visit: Debugging in Visual Studio Code
    "version""0.2.0",
    "configurations": [
        {
            "name""Unity Editor",
            "type""unity",
            "request""launch"
        },
        {
            "name""Windows Player",
            "type""unity",
            "request""launch"
        },
        {
            "name""OSX Player",
            "type""unity",
            "request""launch"
        },
        {
            "name""Linux Player",
            "type""unity",
            "request""launch"
        },
        {
            "name""iOS Player",
            "type""unity",
            "request""launch"
        },
        {
            "name""Android Player",
            "type""unity",
            "request""launch"
        }        

        {
            "type""pwa-msedge",
            "request""launch",
            "name""Launch Chrome against localhost",
            "url""http://localhost:8080",
            "webRoot""${workspaceFolder}"
        }

    ]
 

用上面的csharp-1.21.12.vsix后,在f1输入unity attach debugger,然后选择unity editor版本号
 



 


再返回unity里启动播放game模式,这时候vscode就可以出现断点功能了。

 

Auto-Using for C#
自动添加命名空间

VSCode Great Icons

改变文件夹的外观图标
 

在Unity 中设置
   unity -> Preference -> External Tools 中选择Vscode。

unity商城对vscode支持的工具


 




vscode 4 unity的其他工具 
用VScode开发Unity心得,和一些必备插件_vs code unity-CSDN博客

{
   }
在VS Code中隐藏其他文件文件,打开settings.json配置文件添加
  // Configure glob patterns for excluding files and folders.
    "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
    }



5、ue4


连猫都看得懂的虚幻4连VS Code教程 - 知乎
连猫都看得懂的虚幻4连VS Code教程 - 知乎

  • 24
    点赞
  • 28
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值