Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

SS Template support in Netbeans


Go to End


3 Posts   1393 Views

Avatar
cjsewell

Community Member, 3 Posts

23 August 2015 at 3:04pm

Edited: 24/08/2015 10:35am

Hi All,

Thought I would share my work that I have been playing around with to get Netbeans to support SS Templates correctly.
I started with the Twig Template Module for Netbeans and have made changes for the SS Template language.

Its early days and still requires a lot of work and testing, but feel free to have a look and post your feedback.

Currently syntax highlighting and unclosed ifs and loops etc seem working.
Once the syntax highlighting is polished and 100% working well, I plan to implement code formatting and code completion.

Check it out: https://github.com/guru-digital/sstemplate-netbeans

Avatar
Devlin

Community Member, 344 Posts

24 August 2015 at 9:20pm

Nice!

Avatar
geekdenz

Community Member, 37 Posts

16 October 2015 at 3:57pm

Have you tried setting the content type to TWIG? Seems to work for me.

Also, see https://github.com/guru-digital/sstemplate-netbeans as mentioned before.