是否有“轻型”版本? IntelliJ IDEA编辑没有项目的文件? [英] Is there a "light version" IntelliJ IDEA to edit files WITHOUT a project?
问题描述
ItelliJ IDEA可以在命令行中调用单个文件 - 如下所述:
ItelliJ IDEA can be called from command line on a single file - as described in here:
- 将IntelliJ IDEA作为Diff或合并命令行工具
- Intellij like Text Editor (BTW 不回答我的问题!)
- Running IntelliJ IDEA as a Diff or Merge Command Line Tool
- Intellij like Text Editor (which BTW does not answer my question!)
但是,似乎你必须为IntelliJ提供一个项目,如下所述:
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]
其中:
[IntelliJ IDEA]
是特定于平台的产品启动器
[path1]
是包含所需文件的项目的路径
[number]
是该行的编号插入符号应该放在哪里
[path2]
是要打开的文件的路径
[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的轻量版作为纯文件编辑器,没有项目?
Is there a way of using a "light version" of IntelliJ IDEA as a pure file editor, without a project?
IntelliJ IDEA对于某些文件类型是特别好的编辑器,例如Java,XML,HTML,...我想将它与这些类型相关联并使用它来自Total Commander,但是目前Idea在所有项目开销方面打开得太慢了。我有时需要在项目中编辑文件。
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.
推荐答案
目前还不可能有相关请求(已创建) 2010年12月11日),您可以投票支持:
It's not possible at the moment, there is a related request (created 11 Dec 2010), you can vote for:
- IDEABKL-5939 使用IDEA作为通用文本编辑器
- IDEABKL-5939 using IDEA as a general-purpose text editor
这篇关于是否有“轻型”版本? IntelliJ IDEA编辑没有项目的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!