3

In Eclipse, I really enjoy being able to create templates for things I commonly write in Java and XML. While there is some room for improvement, templates have proven to be quite the time saver. Today I was documenting some notes in the release notes. We have a specific format that we write said release notes in. I thought it would be handy to write a small template so that I could easily insert most of the boiler plate text when I amend the notes. So I dug around the eclipse settings and didn't see anything for plain text files. I googled around and also didn't see anything.

So is what I'm wanting to do possible in Eclipse? Is there a plugin I would need to enable such a feature?

4

1 回答 1

2

我假设你能得到的最接近的是使用Snippets

通过单击Window-> Show View->添加视图Snippets。在该视图中,右键单击并选择Customize以创建自定义片段。您现在可以通过双击将这些片段添加到您的文本文件中。
也许还有一些我还没有找到的快捷方式功能......

于 2013-03-05T16:35:25.513 回答