Switching syntax?


#21

thank you for this.


#22

Best atom package ever! Atom should have it as default for people migrating from sublime


#23

Not everybody who picks up Atom is migrating from Sublime.


#24

Your point? I’m not migrating from Sublime.


#25

The point is that set-syntax doesn’t need to be default because it’s not something that’s useful for everyone.


#26

Nowhere did I mention that everybody were coming from Sublime Text… But that being said I think the most direct competitor to Atom is Sublime Text as it is most often the go-to editor for coders… http://stackoverflow.com/research/developer-survey-2015#tech-editor …So it is a good move to make the transition sublime > atom enjoyable…


#27

Any package that isn’t universal or nearly universal shouldn’t be included in the core packages.


#28

Thanks @kevinsawicki so much


#29

ctrl-shift-L Works on Mac (use ctrl, not cmd). :trophy:


#30

I can confirm that I first had to google this to find this.

It would be much better to include the word ‘syntax’ instead of ‘grammar’ in the command pallette.


#31

https://atom.io/packages/alias-command would allow that


#32

I have just registered, only to thank you ^^


#33

and ^this^ is why I came here


#34

Created an account just to chip in that I also think grammar should be referred to a syntax.

This isn’t just people coming from sublime, it’s 20 plus years of coding in multiple languages, multiple editors and IDE’s and I can’t ever think of it being called grammar before.

I’ll get used to it, I’m loving Atom but doesn’t make it any less of a pain.


#35

And large parts of Atom’s initial functionality were inspired by TextMates, which used the term “grammar”, I would imagine because its highlighting system uses a regular expression grammar (which, by the way, is a term used also in natural language processing) to identify parts of text.

The syntax of a language is the set of rules determining how words in that language should be put together. A grammar for a regular expression engine is used as the basis for a tokenizer to mark special words within the text.


#36

I agree!

In any case, the decision to remove friction with Sublime (and similar) users is a business decision. Atom is yours, so it is your business. Also, I suppose it’s faster to just grab terminologies from TextMate when you were rapidly building Atom from ground up.

Adding aliases to various commands can be good. But it takes time to craft a friction-less template for Sublime users (ala “Sublime users click here for familiar command names”). Still, allowing for disparate aliases (not ala git config alias.lg "log --decorate --graph etc) will dilute the vocabulary in Atom, causing much confusion for Atom experts down the road. (Disclaimer: I’m an Atom noob.)

Atom is popular now. It’s a good opportunity to re-educate users for Atom’s terminologies. Not much point in diluting the vocabulary in Atom now.

(Oh sheesh, this forum controls the Emacs keybind M-b too? World is telling me to stop using Emacs. :frowning: )


#37

Dude, who do you think I am? I’m just a user. And yeah, learning Atom required me to learn a few new terms, but once I did, I didn’t find any of it to be problematic.