lifeart
December 2, 2019, 7:04am
21
One more idea - allow developers create “inline” template-only components GitHub - lifeart/ember-cli-inline-template-only-components: Inline Template only components for Ember.JS for single-usage case, MVP, debug.
lifeart
December 2, 2019, 8:18am
22
I asked github team about hbs`` highlighting:
We use open source TextMate-style language grammars for syntax highlighting, which are available here:
Grammar index
=============
This is a list of grammars that Linguist selects to provide syntax highlighting on GitHub. If you've encountered an error with highlighting, please find the grammar in the list below and report it to the appropriate repository.
**Note:** grammars marked with 🐌 are not updated when Linguist is so upstream fixes may take longer to appear on GitHub.
<!-- Everything below this line is auto-generated by script/list-grammars. Manual edits will be lost -->
- **1C Enterprise:** [xDrivenDevelopment/atom-language-1c-bsl](https://github.com/xDrivenDevelopment/atom-language-1c-bsl)
- **2-Dimensional Array:** [Alhadis/language-etc](https://github.com/Alhadis/language-etc)
- **4D:** [ayoubserti/lang-4d](https://github.com/ayoubserti/lang-4d)
- **ABAP:** [pvl/abap.tmbundle](https://github.com/pvl/abap.tmbundle)
- **ABAP CDS:** [FreHu/abap-cds-grammar](https://github.com/FreHu/abap-cds-grammar)
- **ABNF:** [Alhadis/language-grammars](https://github.com/Alhadis/language-grammars)
- **AGS Script:** [textmate/c.tmbundle](https://github.com/textmate/c.tmbundle)
- **AIDL:** [google/aidl-language](https://github.com/google/aidl-language)
- **AL:** [microsoft/AL](https://github.com/microsoft/AL)
- **AMPL:** [ampl/sublime-ampl](https://github.com/ampl/sublime-ampl)
- **ANTLR:** [textmate/antlr.tmbundle](https://github.com/textmate/antlr.tmbundle)
- **API Blueprint:** [apiaryio/api-blueprint-sublime-plugin](https://github.com/apiaryio/api-blueprint-sublime-plugin)
This file has been truncated. show original
Here’s the grammars we’re using for JavaScript and TypeScript:
TextMate grammar files for TypeScript for VS Code, Sublime Text, and Atom. - GitHub - microsoft/TypeScript-TmLanguage: TextMate grammar files for TypeScript for VS Code, Sublime Text, and Atom.
Linguist pulls in grammar updates with each new release, which usually happens every couple of weeks.
sukima
December 11, 2019, 12:54am
23
I can definitively assert that:
template tags : I don’t mind it. Not a big fan but I can live with it.
JSX like syntax : I hate it!
Disclaimer: I am not a fan of embedded stuff. I like my JS and my HBS separate files. The only exception I have is in tests. I will even separate my <script>
and <style>
tags into scratch files to get the isolation and merge it back into a single HTML file. (Yes I do this manually).
K.I.S.S. Just as it has been with source code and editors since dumb terminal days. There, some $0.02
1 Like