Giter Club home page Giter Club logo

language-html-swig's People

Contributors

screeny05 avatar silvenon avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

language-html-swig's Issues

Bug with comments

When inserting a comment via the keyboard shortcut the cursor is positioned incorrectly.

Bug:

{#  #} |

Expected behaviour:

{# | #}

This Extension Does not Inherently Work for Files With the .html File Extension

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

Package.loadSettings is deprecated.

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.

Package.loadSettings is deprecated.

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.