Skip to content

How to open generated files in IDEA? #66

Answered by j178
openallzzz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi

你需要修改 leetgo.yaml 文件中 editor 部分的配置,因为 IDEA 目前还没有原生支持,你需要用自定义的命令来调用 IDEA。
macOS/Linux 可以在 IDEA 中生成 command line launcher,Windows 系统的话会稍微麻烦一点。

假如你的 IDEA 安装路径是 C:\Program Files\JetBrains\IntelliJ IDEA 的话,那么调用命令是 C:\Program Files\JetBrains\IntelliJ IDEA\bin\idea64.exe,可以这样配置:

editor:
  use: custom
  command: 'C:\Program Files\JetBrains\IntelliJ IDEA\bin\idea64.exe'

Ref: https://www.jetbrains.com/help/idea/working-with-the-ide-features-from-command-line.html

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@openallzzz
Comment options

@j178
Comment options

j178 Jan 29, 2023
Maintainer

@openallzzz
Comment options

@openallzzz
Comment options

@j178
Comment options

j178 Jan 29, 2023
Maintainer

Answer selected by j178
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #65 on January 28, 2023 16:46.