Usage of term "snippet"
I just wanted to raise a comment about the usage of the term "snippet" for the language preview in the prefs.
Given that TextMate has a concept of snippets (see https://manual.macromates.com/en/snippets) I think this could be a bit confusing. Is the idea that the snippets in tm4e could later be used the same was as TextMate snippets? Or are they only ever going to be for syntax highlight previews?
Given that TextMate has a concept of snippets (see https://manual.macromates.com/en/snippets) I
I didn't know that.
I think this could be a bit confusing.
yes you are right.
Is the idea that the snippets in tm4e could later be used the same was as TextMate snippets? Or are they only ever going to be for syntax highlight previews?
It's just for syntax highlight previews.
@mickaelistria I think we should rename that like previewSnippet, no?
@am2605 what is your suggestion?
previewSnippet sounds okay to me. Or codeSample perhaps?. I'm not sure. :)
Whichever would work for me. @am2605 Would you please contribute a PR?