Comments (6)
我这边暂时没法复现这个问题,不太好查 等之后如果有复现此类问题 我再查下
from xmake-vscode.
你或许可以创建一个大些的工程。然后使用一下。建议在虚拟机下复现。也很有可能需要等一段时间。我这边的情况就是过了一会儿就会出现这个问题。然后重启之后又可以用了。
from xmake-vscode.
这边暂时没有大工程来复现这个问题。
from xmake-vscode.
我也遇到过类似的问题,主要是每次打开vscode之后插件会自动打开一个终端,这个时候build和run等按钮还是好用的,但是一旦关闭了这个终端之后上述两个按钮就没有用了,哪怕重新打开一个终端也没有用,只有debug按钮还是好的。除非重启vscode,这时又重新打开终端之后,build和run按钮又好用了。
Windows_NT x64 10.0.18362
vscode版本: 1.39.2 (system setup)
from xmake-vscode.
build 和 run 是在插件起的那个终端下 发送对应命令来执行构建的
如果这个终端被用户强行关闭了 但是插件里面还维护着那个终端的无效引用 发送命令过去就没效果了
我只能看看是否能够监听到终端被销毁的事件 然后下次build重新起个新的终端操作 如果不行的话 就没办法了
from xmake-vscode.
@wangzhankun @1m188 这块我改进过了,用tasks重写执行命令的逻辑,这些问题应该都解决了,而且效果和体验也比之前好了不少。
另外如果要处理编译错误解析,同时更新下xmake到dev版本:xmake update dev 之前的版本有点小问题,解析编译错误会有问题。
相关issues: #22
from xmake-vscode.
Related Issues (20)
- Introduce setting to hide certain status bar options
- 通过vscode的xmake插件debug运行程序时,未尊重xmake.lua 中 set_runargs 设置的命令行参数 HOT 2
- 在容器内使用(或者vscode以root权限运行时), xmake-vscode 会提示xmake not found! HOT 4
- 工程脚本域调用 print 会导致无法调试 HOT 4
- 当workspace里面有多个目录的时候,不能够自动检测目录,打开xmake文件也不能自动激活 HOT 2
- Make lsp backend configurable HOT 2
- 设置xmake build目录后调整不回去默认的 HOT 2
- vscode 调试配置launch.json无法添加visualizerFile属性 HOT 6
- C++设置xmake build目录重启虚拟机后编译可能检测不到代码变化 HOT 8
- cuda 项目生成的compile_commands貌似无法正常提示 HOT 6
- `project directory (/path/dir) is not empty!` error when using VSCode and auto generated `.vscode` directory. HOT 2
- 记住上次关闭时选中的target HOT 1
- 将生成"compile_commands.json"文件的默认地址从".vscode"文件夹移动到"build"文件夹 HOT 3
- 无法正常生成compile_commands,以及“Error:there is no registered task type 'cppbuild'” HOT 1
- option() to be visible in xmake vscode extension HOT 1
- "stopAtEntry" option from launch.json is not respected HOT 3
- VSCode 插件不生效 HOT 2
- Target里on_load打印消息,会导致run或debug无法运行 HOT 1
- 当使用set_targetdir设置输出目录后,在vscode中使用lanunch.json开启程序会报target program not found HOT 2
- toolchain drop list improvement HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmake-vscode.