-
Notifications
You must be signed in to change notification settings - Fork 453
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
Add support for TSS (titanium style sheets) #122
Comments
I am not familiar with TSS, and in my research have not found an available beautifier I could add support for.
If you find a beautifier for TSS -- such as a Command-Line Interface beautifier, that could be installed, or one written in Node.js preferably -- then I can add support for it. If said third-party beautifier has configuration options for what you want, then absolutely it could be done. Just need to find an existing third-party beautifier with TSS support. |
thanks. I thought there is perhaps a reg.expr. function in beautifier where I can set some rules and it would work. But I'll have a look around if there is a nodejs package |
@prettydiff are we able to support this? |
Assign this bug to me. It will have to be an enhancement. It looks simple, but its not. Notice that the property separators are commas instead of semicolons. I can easily enhance support for this, but I scared about regression. I just need to extra time to test it properly.
I am not completely clear on this. It sounds like "Allman" style braces instead of the more common "K&R" style braces. I have an option for this on the Pretty Diff tool for JavaScript only. If @m1ga could go to http://prettydiff.com/ and beautify some JavaScript with the "Allman (ANSI) style" option checked. Just verify this is what you are looking for in CSS and I will ensure this feature is available to CSS. Just scroll down the page to make the options visible on the Pretty Diff tool. |
Created Issue for you, @prettydiff, at prettydiff/prettydiff#57 |
prettydiff/prettydiff#57 is closed! Prettydiff now supports TSS files. So prettydiff will be included in atom-beautify? |
So the next issue is that Atom Beautify current uses the Grammar for the file as it is detected by Atom. However, I cannot find Atom language support package for TSS. |
I've started https://github.com/m1ga/language-tss a while ago. Not fully complete but it will apply when using tss files |
Published to v0.24.0 Be sure to install https://github.com/m1ga/language-tss to allow Atom to detect TSS. |
👍 awesome! Working like a charm |
What would be the best way to include a custom language (TSS, a CSS style language for the app framework Titanium)?
Is there a way I can say that it would add \n after each , and a \t on each newline between { and } ?
The text was updated successfully, but these errors were encountered: