You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The big question is: Is there a downside for 2nd? If there are like 100 extra language files? Apart from the extra work to keep maintaining them, maybe performance? But if it 100s of languages would slow down loading/rendering by like 2-3ms, still neglectable, I guess.
Maybe initially we can just do option 2 without much thinking and then at some point, reconsider the question.
Ya, Bundles would be nice. But maybe hard to decide where to draw the line. And if there are multiple color variations, it would multiply the amount of themes needed.
Something I've been thinking lately:
Themes: Should only provide the colors, but no syntax highlighting logic.
Language packages: Should use the colors of a theme and do the syntax highlighting.
Then you would pick a theme because of a certain color scheme and install language packages because you work with certain file types/languages. And in a sense create your own "custom bundle".
If language packages shouldn't style anything, there could be 3 "packages":
Themes -> define colors
Languages -> define scopes
Syntax -> define syntax (what scope should have what color)
But that needs some new convention.. so maybe something for Atom 2.0.
Activity
simurai commentedon Jan 1, 2016
The big question is: Is there a downside for 2nd? If there are like 100 extra language files? Apart from the extra work to keep maintaining them, maybe performance? But if it 100s of languages would slow down loading/rendering by like
2-3ms, still neglectable, I guess.Maybe initially we can just do option 2 without much thinking and then at some point, reconsider the question.
Merge pull request #2 from braver/languages
filipelinhares commentedon Jan 3, 2016
I think Bundles is the best one, but we need to keep in mind it has differents languages which each front-end uses.
With the bundle way we need a good way to deal with some types of front-end.
What do you think about it?
simurai commentedon Jan 4, 2016
Ya, Bundles would be nice. But maybe hard to decide where to draw the line. And if there are multiple color variations, it would multiply the amount of themes needed.
Something I've been thinking lately:
Then you would pick a theme because of a certain color scheme and install language packages because you work with certain file types/languages. And in a sense create your own "custom bundle".
If language packages shouldn't style anything, there could be 3 "packages":
But that needs some new convention.. so maybe something for Atom
2.0.