解决路径补全不提示文件的bug 不再使用jsconfig.js,使用vscode插件来实现路径补全: 这里选择的是Path Autocomplete插件,而不是Path Intellisense(之前使用的这一个,但是关于别名路径方面还是存在问题。。。) 在 工作区配置.vscode/setting.json里面添加内容如下: { "path-autocomplete.excludedItems": { "**/*.js"...
打开Run and Debug面板,在RUN AND DEBUG下拉框选择Add Config,VSCode自动创建launch.json文件,在光标处键入launch,选择Chrome: Launch,一套用于Chrome启动调试模式的配置模板就出来了: Chrome: Launch 默认提供的debug配置模板 由于笔者的项目是通过npm加载webpack-dev-server搭建的开发环境,故还需要在真正开始debug前运行...
1. VSCode安装插件 —— "EmmyLua " (插件的Lua代码Style, 我个人还是比较喜欢的); 图1 VSCode安装EmmyLua 2.添加EmmyLua的Debug配置,即launch.json添加如下配置: { "version": "0.2.0", "configurations": [ { "type": "emmylua_new", "request": "launch", "name": "EmmyLua-Debug", "host": ...
调试的设置信息会保存在 proj_dir/.vscode/launch.json 打开文件夹后会变成create a launcher.json,点击Run And Debug, 选择EmmyLua New Debugger(这个是作者推荐的,更稳定些,前面两个已经不更新了) launch.json创建好后,注意把红色处改成false,让调试器连接vscode 调试配置文件生成位置 # 写一个hello_world.lua...
vscode launch.json配置 {// 使用 IntelliSense 了解相关属性。// 悬停以查看现有属性的描述。// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387"version":"0.2.0","configurations":[{"type":"emmylua_new","request":"launch","name":"EmmyLua New Debug","host":"localhost...
Q (English): Can I use vscode-emmylua’s code analysis on other platforms? A (中文): 可以,它基于emmylua-analyzer-rust,兼容支持 LSP 的客户端 A (English): Yes, it usesemmylua-analyzer-rust, which is a standard LSP Q (中文): 为什么不用 VSCode 配置,而是用 .emmyrc.json?
vscode零碎点 2019-12-18 17:43 − 1.git配置在设置的settings.json文件下配置 { // Git Bash "git.path": "D:/git/Git/bin/git.exe", &nb... gzdgz 0 303 vscode settings.json文件 2019-12-09 20:37 − { "editor.tabSize": 2, "workbench.iconTheme": "vscode-icons", "editor...
`NEW`语言服务现在会从vscode插件端读取文件关联配置, 确保`.lua.txt`等后缀的正确分析 28+ 529 #0.7.2 630 731 `NEW`默认启用codelens功能 Original file line numberDiff line numberDiff line change @@ -1,5 +1,30 @@ 11 #Change Log 22 ...
使用VSCode断点调试Lua教程 一.安装Visual Studio Code(vscode)和插件中心搜索安装luaide 二.配置luach.json 1.工程文件夹直接拖入vscode即可 2.左侧栏调试图标->设置->选择LuaDebug,这时会出现launch.json文件 3.在launch.json文件中找到exePath字段修改到模拟器路径 例如:"exePath": "D... ...