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

Usage of term "snippet" #147

Open
amyers735 opened this issue Nov 5, 2017 · 3 comments
Open

Usage of term "snippet" #147

amyers735 opened this issue Nov 5, 2017 · 3 comments
Labels

Comments

@amyers735
Copy link

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?

@angelozerr
Copy link
Contributor

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?

@amyers735
Copy link
Author

previewSnippet sounds okay to me. Or codeSample perhaps?. I'm not sure. :)

@mickaelistria
Copy link
Contributor

Whichever would work for me. @am2605 Would you please contribute a PR?

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

No branches or pull requests

3 participants