benjamin-smith / sublime-text-silverstripe Goto Github PK
View Code? Open in Web Editor NEWSublime Text package for working with SilverStripe templates
Sublime Text package for working with SilverStripe templates
Hello,
First, thanks for your great work on this plugin.
I have the following issue for awhile, atleast with all syntax's but I thought a special SilverStripe syntax could fix it.
When I add <% require themedCSS(style) %> to the head emmet breaks and it can no longer be used. When I remove <% require themedCSS(style) %>, then Emmet works perfectly.
As noted on the SilverStripe forums, syntax highlighting is failing in some cases:
Any plans to include syntax highlighting etc. for embedded/inline JS and CSS?
Thanks for the package and keep up the great work!
I love the idea of this package! Thanks!
But I have installed it on ST2 v 2.0.1 build 2217.
I can get the silverstripe syntax working, but the if, else, ifelse snippets don't work.
At first when i installed it if->tab would make a php if statement(in a .ss file). I went and disabled my php plugin but still the snippets, even loop, with, etc just dont do anything..
Any I deas?
Thanks in advance
If you have a loop like this:
<% loop CurrentUser.Articles %>
$Title </br>
<% end_loop %>
Then, the first line (<% loop CurrentUser.Articles %>
) is not highlighted.
I think it's caused by the dot in the expression.
Using the latest branch, <%t Column.PluralTitle "Columns" %> doesn't behave the same as <% loop etc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.