Is there a “light version” IntelliJ IDEA to edit files WITHOUT a project?

拟墨画扇 提交于 2019-12-10 13:33:36

问题


ItelliJ IDEA can be called from command line on a single file - as described in here:

  • Running IntelliJ IDEA as a Diff or Merge Command Line Tool
  • Intellij like Text Editor (which BTW does not answer my question!)

However, it seems that you have to provide IntelliJ with a project, as described here:

  • Opening Files from Command Line

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

Is there a way of using a "light version" of IntelliJ IDEA as a pure file editor, without a project?

IntelliJ IDEA is especially good editor for some file types, such as Java, XML, HTML, ... I'd like to associate it with these types and use it from Total Commander, but currently Idea opens too slowly with all the project overhead. And I sometimes need to edit files across the projects.


回答1:


It's not possible at the moment, there is a related request (created 11 Dec 2010), you can vote for:

  • IDEABKL-5939 using IDEA as a general-purpose text editor


来源:https://stackoverflow.com/questions/43045478/is-there-a-light-version-intellij-idea-to-edit-files-without-a-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!