Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSCode 插件不生效 #259

Open
LogicDX342 opened this issue Feb 27, 2024 · 3 comments
Open

VSCode 插件不生效 #259

LogicDX342 opened this issue Feb 27, 2024 · 3 comments
Labels

Comments

@LogicDX342
Copy link

Xmake 版本

2.8.7

操作系统版本和架构

Windows 10 Pro Version 22H2, Ubuntu20.04

描述问题

使用 VSCode 的 remote ssh 时,安装了 xmake 插件但不生效(状态栏没有出现 xmake 相关的信息,output 看不到 xmake 的输出)。尝试使用 Ctrl+Shift+P 来调用 xmake 的功能,但所有操作都出现类似以下报错。

[Main Instruction]
Command 'XMake: CreateProject' resulted in an error

[Content]
A system error occurred (spawn xmake ENOENT)

命令行可正常使用 xmake 。

插件版本2.3.0 。

期待的结果

正常工作

工程配置

target("main")
set_kind("binary")
add_files("main.c")

附加信息和错误日志

2024-02-27 18:10:06.705 [error] Activating extension tboox.xmake-vscode failed due to an error:
2024-02-27 18:10:06.705 [error] Error: spawn xmake ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

@LogicDX342 LogicDX342 added the bug label Feb 27, 2024
@AspadaX
Copy link

AspadaX commented May 25, 2024

I got the same error, and I installed xmake in Ubuntu 22.04 LTS. I am using remote ssh too. Anyone has an idea of what's going on?

@waruqi
Copy link
Member

waruqi commented May 25, 2024

remove ssh 没玩过,你们可以自己加载插件代码,调试下

@ZhanLongqi
Copy link

I do have the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants