https://github.com/angelozerr/lsp4e-freemarker
Integration of the Freemarker Language Server with LSP4E.
https://github.com/angelozerr/lsp4e-freemarker
eclipse-plugin freemarker lsp
Last synced: 2 months ago
JSON representation
Integration of the Freemarker Language Server with LSP4E.
- Host: GitHub
- URL: https://github.com/angelozerr/lsp4e-freemarker
- Owner: angelozerr
- License: epl-2.0
- Created: 2018-03-16T04:53:14.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-08T14:01:12.000Z (almost 8 years ago)
- Last Synced: 2025-02-23T08:16:50.450Z (11 months ago)
- Topics: eclipse-plugin, freemarker, lsp
- Language: Java
- Homepage:
- Size: 4.6 MB
- Stars: 3
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](http://travis-ci.org/angelozerr/lsp4e-freemarker)
Eclipse FreeMarker LSP
===========================
The `LSP4e FreeMarker` is a an Eclipse plugin for [FreeMarker](https://freemarker.apache.org/) based on:
* [Eclipse LSP4E](https://projects.eclipse.org/projects/technology.lsp4e) to consume the [FreeMarker Language Server](https://github.com/angelozerr/freemarker-languageserver) inside Eclipse.
* [Eclipse TM4E](https://projects.eclipse.org/projects/technology.tm4e) to support FreeMarker syntax coloration based on TextMate grammar.
* [FreeMarker Language Server](https://github.com/angelozerr/freemarker-languageserver) the FreeMarker Language Server.
Features
===========================
* Syntax coloration for HTML & FreeMarker syntax both
* FreeMarker Validation (as you type)
Demo
===========================
Here a demo (with installed[Eclipse BlueSky](https://github.com/mickaelistria/eclipse-bluesky)):

Installation
===========================
* Update Site: http://oss.opensagres.fr/lsp4e-freemarker/snapshot/
Note: installation test was done with [Eclipse Photon M6](https://www.eclipse.org/downloads/packages/release/Photon/M6).
Build
===========================
See cloudbees job: https://opensagres.ci.cloudbees.com/job/lsp4e-freemarker/
Eclipse BlueSky
===========================
Once https://github.com/mickaelistria/eclipse-bluesky/issues/63 will work in Photo you could install it.
HTML syntax coloration (managed with TextMate) and HTML completion, mark occurrences, etc is not a part of this plugin. I suggest you that you install https://github.com/mickaelistria/eclipse-bluesky
which provides those features.
Development in Eclipse
======================
1. Use "Eclipse for Committers" (Photon M6 as of this writing).
2. In Eclipse, "File" / "Import..." / "Existing Maven Projects". Point at the `lsp4e-freemarker` project root directory, add all the Maven projects it finds.
3. Now go to "Window" / "Preferences" / "Plug-in Development" / "Target Platform", and Select "lsp4e-freemarker" (this only appears if you have imported the "target-platform" Maven project earlier).
After this, there shouldn't be more errors in the project (no dependency classes that aren't found).
4. To try the plugin, right click on the `org.eclipse.lsp4j.freemarker` project, then "Run as" / "Eclipse Application".
(TODO: Currently that will fail with `Application "org.eclipse.ui.ide.workbench" could not be found in the registry`. I have worked that around by adding
`` to the target platform, but of course there must be a better way.)