在 Eclipse 中打开 sublime 文本编辑器

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/23734872/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 21:42:27  来源:igfitidea点击:

Open sublime text editor into eclipse

eclipseeclipse-pluginidesublimetext

提问by Andrea Catania

Is there a way to open the Sublime Text Editor into Eclipse to edit HTML, JavaScript and CSS?

有没有办法在 Eclipse 中打开 Sublime Text Editor 来编辑 HTML、JavaScript 和 CSS?

The idea is to use only the Text Editor without project explorer.

这个想法是只使用没有项目资源管理器的文本编辑器。

If this isn't possible, is there a plugin that does what I said?

如果这是不可能的,是否有一个插件可以做到我所说的?

回答by NitroStoutPlz

I would have just left this as a comment but I can't. First off, why is using the project explorer a problem?

我会留下这个作为评论,但我不能。首先,为什么使用项目浏览器会出现问题?

Next, I know with Sublime Text 2 & 3 you have the ability to view/edit a file in two places simultaneously, just go File > New View into File. In Eclipse you can go Window > New Window. Alternatively you can import a project/file into eclipse or sublime. Either of these will bring in the project explorer (unless you import one file or something).

接下来,我知道使用 Sublime Text 2 和 3,您可以同时在两个位置查看/编辑文件,只需转到File > New View into File. 在 Eclipse 中你可以去Window > New Window。或者,您可以将项目/文件导入 eclipse 或 sublime。其中任何一个都会带入项目资源管理器(除非您导入一个文件或其他内容)。

回答by user2084865

You might want to have a look at Subclim+ Eclim.

您可能想看看Subclim+ Eclim

I had to open the files via "Project Explorer -> Open With -> External -> sublime" to get the files refreshed right away (e.g. for a running webapp). But other from that, it's quite nice.

我必须通过“项目资源管理器 -> 打开方式 -> 外部 -> sublime”打开文件才能立即刷新文件(例如,对于正在运行的 web 应用程序)。但除此之外,它非常好。