Jump to content
darnocian

Sempare Template Engine IDE Playground for Delphi

Recommended Posts

I've been experimenting with an integrated playground IDE plugin for the Sempare Template Engine ( https://github.com/sempare/sempare-delphi-template-engine or via GetIt). The template engine is available under Apache 2.0 and has been around for years, and has backward capability back to XE4. The playground plugin is similar to the standalone playground demo app that exists in the project.

 

Anyways, I decided it was time to have a richer IDE experience. My initial development currently it supports:

- highlighting (script tags, comments, numbers, strings)

- toggling whitespace visibility

- IDE Options Dialog allows you to customise options (overriding defaults which are IDE theme aware)

- Supports prototyping templates against mock data (in json files)

- Supports script tags <% %> or {{ }}

- Real-time validation of templates and evaluation/preview 

- Preview as raw text or in a browser

 

As I changed the license of the template engine to be Apache from GPL, this will be available initially to supporters of the project. More to follow... 

 

Any other ideas/improvement suggestions welcome.

 

Here are some screenshots:

 

image.png.8a285542a107deef0e53dfa95d5e3c39.png

image.thumb.png.5574ff6429c8b3975848b574973a8843.png

  • Like 5

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×