可以从单个文件的命令行调用 ItelliJ IDEA - 如下所述:
- Running IntelliJ IDEA as a Diff or Merge Command Line Tool
- Intellij like Text Editor (顺便说一句,没有回答我的问题!)
但是,您似乎必须向 IntelliJ 提供一个项目,如下所述:
In the command line, type the following:
[IntelliJ IDEA] [path1] --line [number] [path2]
where:
[IntelliJ IDEA]
is the platform-specific product launcher
[path1]
is the path to the project that contains the desired file
[number]
is the number of the line, where the caret should rest
[path2]
is the path to the file to be opened
有没有办法将 IntelliJ IDEA 的“精简版”用作纯文件编辑器,没有项目?
IntelliJ IDEA 是某些文件类型的特别好的编辑器,例如 Java、XML、HTML ......项目开销。有时我需要跨项目编辑文件。
最佳答案
关于java - 是否有 "light version"IntelliJ IDEA 可以在没有项目的情况下编辑文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43045478/