Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support beautifying files with unknown grammars #238

Closed
3 tasks
Glavin001 opened this issue Mar 16, 2015 · 7 comments
Closed
3 tasks

Support beautifying files with unknown grammars #238

Glavin001 opened this issue Mar 16, 2015 · 7 comments

Comments

@Glavin001
Copy link
Owner

Blocker for #122

  • Extension to Grammar mapping
    • Atom Beautify package setting for a JSON structure representing extension mapping to Grammar
{
   "tss": "Titanium Style Sheet"
}
  • Alternative grammar mappings (above) are forced priority on top of Atom's
@Glavin001
Copy link
Owner Author

Instead of using JSON, how about using array type and make the sub items of type string and the string must be in the form #{extension}:#{grammar}. For example: tss:Titanium Style Sheet

@m1ga
Copy link

m1ga commented Apr 12, 2015

any news here?

@Glavin001
Copy link
Owner Author

I am working on exams until April 17th. So that will be the earliest time I will have to develop on this and any other features.

If your package https://github.com/m1ga/language-tss works then that should allow a much quicker fix. All we need is for Atom to recognize that grammar, even if that language support does not do much else.

@m1ga
Copy link

m1ga commented Apr 12, 2015

no problem! Good luck for your exams!

its at least showing TSS in the bottom so it's finding tss files I guess:
img

@Glavin001
Copy link
Owner Author

its at least showing TSS in the bottom so it's finding tss files I guess:

Excellent! In that case!...

@Glavin001
Copy link
Owner Author

Published TSS support to v0.24.0

Be sure to install https://github.com/m1ga/language-tss to allow Atom to detect TSS.

😃

Now I'm off to studying. Thanks!

@Glavin001
Copy link
Owner Author

This was effectively implemented with #282.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants