samholmes / ejs.tmlanguage Goto Github PK
View Code? Open in Web Editor NEWAn EJS syntax definition specifically for sublime text
An EJS syntax definition specifically for sublime text
I am able to replicate the problem, but I don't know where to start trouble shooting. The = tab trigger works just fine. And it's working on OSX.
I should first thank you for taking the initiative to create an EJS package for sublime, thanks, but I have to ask why did you choose when the ejs page clearly states that <% %> is the default tag form. I would prefer it to be like that.
screenshot: http://cl.ly/YSH0
It seemed that we can not install the plugin from command palette in Sublime Text 3.
Although we can install it manually, it's quite inconvenient. Maybe it should be updated.
I can't seem to be able to find this package in Sublime Text 3's Package Control anymore.
The page at Package Control returns the following warning: Package info was unavailable last time crawler ran. Unable to download https://api.github.com/repos/samholmes/EJS.tmLanguage after 3 attempts
.
Minor issue, the <%==
command (used for embedded views for example) is not colored correctly, the second equal sign becomes a different color.
when opening files with <%%>
notation It detects the syntax highlighting as EJS <??>
...
i can switch it over manually but that gets tedious after doing that for every template time and time again.
either I'm looking for an option to force <%%>
syntax highlighting, or a fix to detect the syntax type.
Currently there is a tab trigger on the =
character that produces a <?= ?>
set. Having =
as the tab trigger can be problematic when coding.
There needs to be a key binding that produces:
<?| ?>
Where | is the cursor position. This way, one can easily choose between -
and =
or no symbol at all (by enter a space). Also, pressing enter within this should modify the snippet to:
<?
|
?>
Remove the space before ?>
and adding two newline characters in between <?
and ?>
.
PS: <?
and ?>
can also mean <%
and %>
,or any other tags once this is becomes an option.
Hello samholmes,
I have just noticed that EJS.tmLanguage plugin shows error when I open an .ejs file in my Sublime 3 a while ago. Then, I uninstalled the EJS.tmLanguage through Package control and re-installed it again, but the error still occurs. It seems that this error is caused by your latest check in "default syntax only". Here are the steps to replicate the issue:
Below is the detail of my system environment:
Cheers.
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.