xmake-vscode里面增加了一些全局vscode配置项,用于控制xmake-vscode插件的行为,配置清单是在package.json文件中进行描述的,例如: {"configuration":{"type":"object","title":"XMake configuration","properties":{"xmake.logLevel":{"type":"string","default":"normal","description":"The Log Level: normal/ve...
xmake-vscode里面增加了一些全局vscode配置项,用于控制xmake-vscode插件的行为,配置清单是在package.json文件中进行描述的,例如: {"configuration":{"type":"object","title":"XMake configuration","properties":{"xmake.logLevel":{"type":"string","default":"normal","description":"The Log Level: normal/ve...
当vscode打开带有xmake.lua的目录或者执行xmake.XXX相关命令的时候,都会触发加载xmake-vscode插件,然后调用src/extension.ts中的activate入口函数,进行插件的加载和初始化。 export function activate(context: vscode.ExtensionContext) { let disposable = vscode.commands.registerCommand('xmake.sayHello', () => { vsco...
当vscode打开带有xmake.lua的目录或者执行xmake.XXX相关命令的时候,都会触发加载xmake-vscode插件,然后调用src/extension.ts中的activate入口函数,进行插件的加载和初始化。 exportfunctionactivate(context:vscode.ExtensionContext){letdisposable=vscode.commands.registerCommand('xmake.sayHello',()=>{vscode.window.showInfor...
xmake-vscode Introduction Features Quickstart Colorization and Completion Lists StatusBar Commands Configuration Build Run and Debug Record and Playback Problem IntelliSense How can I generate c_cpp_properties.json? Debugging Configurations related to debugging ...
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库:https://github.com/tboox/xmake-vscode master 克隆/下载 git config --global user.name userName git config --global user.email userEmail 分支2 标签114 ruki2.4.052b80712个月前 ...
插件的加载机制 插件通过工程根目录extension.json中配置的activationEvents进行触发,例如: {"activationEvents":["workspaceContains:xmake.lua","onCommand:xmake.sayHello"]} 当vscode打开带有xmake.lua的目录或者执行xmake.XXX相关命令的时候,都会触发加载xmake-vscode插件,然后调用src/extension.ts中的activate入口函数,进...
"xmake.buildDirectory": { "type": "string", "default": "${workspaceRoot}/build", "description": "The Build Output Directory" }, 最近打算给xmake写一些IDE和编辑器的集成插件,发现vscode的编辑器插件比较容易上手的,就先研究了下vscode的插件开发流程,并且完成了xmake-vscode插件的开发。 我们先来看几...
在vscode中创建c++项目并运行调试 在桌面新建一个test目录,并右键选择使用vscode打开 按住快捷键ctrl+shift+p调出vscode命令弹窗,并选择Xmake:CreateProject 右下角会提示xmake.lua not found!错误,选择Create a new xmake project!创建项目 选择语言,我这里使用C++ ...
xmake-vscode v0.0.17快速构建插件 1/2