devongovett / atom-jade

Jade TextMate bundle converted for Atom
51 stars 26 forks source link

Jade to Pug #63

Open genoma opened 8 years ago

genoma commented 8 years ago

About the pull request https://github.com/devongovett/atom-jade/pull/62

I think we should change the name of the library to something like language-pug, just to update to the new name and to bring some consistency between the repository and the name of the plugin.

Let me know what do you think about this.

vizo commented 8 years ago

:+1:

devongovett commented 8 years ago

Wow, crazy. https://github.com/pugjs/pug/issues/2184 for context.

devongovett commented 8 years ago

Maybe publish both language-jade and language-pug based on this package somehow so that they both work? @LinusU what do you think?

LinusU commented 8 years ago

Hmm, yeah we should absolutely change the name to language-pug, and I guess it would be nice to publish it under both names.

I don't know how much job that is though.

I wonder if there is a way to publish an update that somehow sends a message to the user that we have changed name...

vizo commented 8 years ago

@genoma already made language-pug ... he wrote it on feb now is may :)

RobertWHurst commented 7 years ago

I just wanted to add, this is a better implementation than the current language-pug package. That package has some annoying bugs when it comes to syntax highlighting. For example it doesn't work correctly with inline elements, or with code blocks (with the period syntax). It also does not offer the same level of configuration. @devongovett, any chance we can add support for the pug extension to this package, or perhaps publish it under another name for pug anyway?

language-pug language-jade
screen shot 2016-12-26 at 12 53 44 pm screen shot 2016-12-26 at 12 54 35 pm
sethmcleod commented 7 years ago

@RobertWHurst I just published a package called language-pug-jade which is a blatant copy of this repo with a few updates so that it supports pug files as well: https://atom.io/packages/language-pug-jade

RobertWHurst commented 7 years ago

@sethmcleod Very cool. Thanks for that 🍻

in-in commented 7 years ago

You can get support for .pug file if you add that to the core section in your config.cson

customFileTypes:
      'source.jade': [
        'pug'
      ]

http://flight-manual.atom.io/using-atom/sections/basic-customization/#customizing-language-recognition

LinusU commented 7 years ago

A pull request that adds pug as a default extension would be very welcome :)

hollenberry commented 7 years ago

You can get support for .pug file if you add that to the core section in your config.cson

@in-in Thank you!! This might be worth adding to the README.md for people new to Jade/Pug, because I was digging all over the place to learn to set the customFileType correctly, and your comment was the key I needed. 👍

qucode1 commented 7 years ago

I agree, thanks a lot @in-in. I tested every package I could find for atom, but none worked correctly. Surprisingly I couldn't even find anything useful on google. I thought there would be a lot more people having a highligting issue with pug in atom.

williamschneider commented 6 years ago

@RobertWHurst I see in your post from 12-26-16 you had a photo showing some differences. In your photo of "language-jade" your code after the pound sign had some highlighting that was not in your "language-pug" photo. My current setups using these different packages has a lack of highlighting for code after my '#' signs. Is there a tip you could offer that I am missing?

-I am new to using Atom and have not worked in the code base for it.

Could this also be a function of the theme I am using? Currently monokai.

Please any help you could give would be great. I want to get the rest of my team on board with Atom but they currently prefer Sublime. Thank you!