xmake-io / xmake-idea

🍨 A XMake integration in IntelliJ IDEA
https://xmake.io
Apache License 2.0
76 stars 18 forks source link

Run configuration overrides other languages #19

Open chachako opened 2 years ago

chachako commented 2 years ago

Xmake Version

v2.6.4+202203070649

Operating System Version and Architecture

macOS 12.2.1

Describe Bug

安装了这个插件后,其他语言的运行图标会被覆盖,运行的是 XMake 命令而不是语言本身的命令

Expected Behavior

  1. 排除源文件?只在 xmake 包含的文件中允许显示运行图标,其他文件禁用它
  2. 或者在运行按钮展开后的列表中插入 item

Project Configuration

No response

Additional Information and Error Logs

image image image

图中所示:Rust 插件的运行按钮被覆盖掉了

waruqi commented 2 years ago

目前没人力维护这个插件,遇到问题 可以自行拉代码改进下,来个 pr 过来。

chachako commented 2 years ago

这部分的代码是在 https://github.com/xmake-io/xmake-idea/blob/master/src/main/kotlin/io/xmake/run/ 中吗?

waruqi commented 2 years ago

嗯,运行在里面,但图表配置在哪 我也记不清了,你找找

chachako commented 2 years ago

好的,抽空我研究研究