Java Eclipse 的速度编辑器插件?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/386877/
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-08-11 14:06:48  来源:igfitidea点击:

Velocity editor plugin for Eclipse?

javaeclipsevelocity

提问by matt b

I've seen Veloedit, which seems to have good syntax highlighting but doesn't allow tab characters in the file being edited (wtf?) and also has no understanding of HTML.

我见过Veloedit,它似乎具有很好的语法突出显示功能,但不允许在正在编辑的文件中使用制表符(wtf?),并且也不了解 HTML。

With a little bit of googling I've found Veloecipse, which claims to build upon Veloedit and also add HTML support - but doesn't seem to be compatible with Eclipse 3.4.

通过一些谷歌搜索,我发现了Veloecipse,它声称建立在 Veloedit 的基础上并添加了 HTML 支持 -但似乎与 Eclipse 3.4 不兼容

Are there any other Velocity template editor plugins for Eclipse that anyone is using?

是否有任何其他人正在使用的 Eclipse 速度模板编辑器插件?

The ideal solution would have the following features:

理想的解决方案应具有以下特点:

  • Syntax hightlighting of VTL
  • HTML syntax highlighting as well
  • Auto-complete of VTL syntax
  • Allows tabs!
  • VTL 的语法高亮
  • HTML 语法高亮显示
  • 自动完成 VTL 语法
  • 允许标签!

Update: see my answer below

更新:见下面我的回答

采纳答案by matt b

Here's an update: I've been using Veloeclipse and it works well, not sure what led to my original comment about not working with Eclipse 3.4 but I am definitely using it with 3.4 now. Veloeclipse works better than Veloedit and Velocity Web Editor, in my opinion.

这是一个更新:我一直在使用 Veloeclipse 并且它运行良好,不确定是什么导致了我关于不使用 Eclipse 3.4 的原始评论,但我现在肯定在 3.4 中使用它。在我看来,Veloeclipse 比 Veloedit 和 Velocity Web Editor 更有效。

回答by Reji

just try

你试一试

Velocity Web Edit

速度网页编辑

http://velocitywebedit.sourceforge.net/

http://velocitywebedit.sourceforge.net/

回答by Patrick Cornelissen

According to http://sourceforge.net/project/showfiles.php?group_id=126011the last release was 2006 so, I don't think that it's actively maintained anymore.

根据 http://sourceforge.net/project/showfiles.php?group_id=126011的最新版本是 2006 年所以,我认为它不再被积极维护。

Too bad that veloedit doesn't work.

太糟糕了,veloedit 不起作用。

Ok, I tried it again and now it worked. Must have something to do with my installation. So for me veloedit is the way to go :)

好的,我又试了一次,现在成功了。一定与我的安装有关。所以对我来说 veloedit 是要走的路:)

Next Edit: On the next day, I got Eclipse exceptions again, when I started to use the veloedit editor. Now I'm just using a regular html/jsp editor to have at least some kind oh html syntax highlighting...

下一次编辑:第二天,当我开始使用 veloedit 编辑器时,我再次遇到 Eclipse 异常。现在我只是使用一个普通的 html/jsp 编辑器来至少有某种 oh html 语法突出显示......

回答by rowing-ghoul

I have installed Veloeclipse since Veloedit raised exceptions when opening the editor and it works fine with eclipse 3.5.2.

我已经安装了 Veloeclipse,因为 Veloedit 在打开编辑器时引发了异常,并且它在 eclipse 3.5.2 上运行良好。

In order to install it, I had to deselect "Group items by category" in the "Install new software..." dialog.

为了安装它,我必须在“安装新软件...”对话框中取消选择“按类别分组项目”。

回答by Jitendra Nandre

you can download Veloeclipse for Velocity Template from http://code.google.com/p/veloeclipse/

您可以从以下位置下载 Veloeclipse for Velocity Template http://code.google.com/p/veloeclipse/