screeny05 / language-html-swig Goto Github PK
View Code? Open in Web Editor NEWLanguage support for the Swig templating engine
Language support for the Swig templating engine
When inserting a comment via the keyboard shortcut the cursor is positioned incorrectly.
Bug:
{# #} |
Expected behaviour:
{# | #}
Hello, @screeny05
Well done on building this awesome extension, I just have one small problem that I would love your input on.
I use the .html extension for my Swig templates:
However, this extension only picks up Swig grammar and snippets for files with the .swig extension ๐.
I cannot use the .swig extension because that would break Emmet (also, I prefer .html but that is not a good reason ๐).
My instinct is to fork this repository and to change the detected extension from .swig to .html (e.g. here). I would maintain the fork on my profile which I think is in accordance with your licence.
I am curious as to whether you have encountered this issue before and if so, do you have a solution?
Many Thanks,
@alexbooker
Store package settings files in the settings/
directory instead of scoped-properties/
Package.loadSettings (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:582:9)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:184:43)
Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:163:15)
Package.load (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:177:12)
PackageManager.loadPackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:355:14)
PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:434:30)
I don't know enough about how packages are structured to know if simply changing the directory name will break the package in other places.
Store package settings files in the settings/
directory instead of scoped-properties/
Package.loadSettings (C:\Users\Celso\AppData\Local\atom\app-0.191.0\resources\app\src\package.js:547:9)
<unknown> (C:\Users\Celso\AppData\Local\atom\app-0.191.0\resources\app\src\package.js:168:43)
Hello. Could you check on this version?
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.