Developing freemarker and myeclipse in myeclipse Environment
Recently, I am working on a project, where I need to use the freemarker template. When I write beautiful html into freemarker, the problem arises. Full Screen is white and black, no highlighted display, no syntax prompt, cannot be formatted. Looking at the problem, it is still prone to errors, and it is difficult to find a character location, which seriously affects the development efficiency and the project development progress. So how can I make myeclipse support the freemaker editor?
If you don't talk nonsense, go directly to the following steps:
1. Download plug-in package, address http://sourceforge.net/projects/freemarker-ide/files/
2. decompress the package and obtain the following key files.
| -- Hudson. freemarker_ide_0.9.14
| -- META-INF
| -- MANIFEST. MF
| -- Freemarker-2.3.6.jar
3. Replace the old jar version
Because the freemarker jar package is old, the development is basically using a newer, so use your development jar package to replace the original, take the freemarker-2.3.16.jar I used as an example. (Of course, if you use the downloaded jar version, you can do it without replacing it. Go directly to step 2)
After replacement:
| -- Hudson. freemarker_ide_0.9.14
| -- META-INF
| -- MANIFEST. MF
| -- Freemarker-2.3.16.jar
4. Modify MANIFEST. MF
Open it with notepad, find Bundle-ClassPath: freemarker-2.3.6.jar, replace with the version Bundle-ClassPath: freemarker-2.3.16.jar that you are using now
5. Copy the hudson. freemarker_ide_0.9.14 folder to the plugins folder under the myeclipse installation directory.
6. Restart myeclipse and open the. ftl file. The interface is friendly. Is it easy.