It seems I’m not the only one out there who’s had complaints when it comes to Atom & Emmit. Abbreviations like cl + tab would produce a Class definition snippet in JavaScript whereas Sublime would do an autofill for console.log(). Particularly with JavaScript I found that emmet’s expanding abbreviations for things like console.log wasn’t working as I expected. 'tab': 'emmet:expand-abbreviation-with-tab' Custom Keymap for Emmet and Mustache Grammar : Open by viewing Atom > Open Your Keycap from your menu. Since Emmet will not work correctly in Handlebars files you can get your Emmet’s mojo back with expanding abbreviations by adding the line below to your Keymap: 'atom-text-editor:not()': I typically write in Handlebars for my static site generator projects and Atom picks these files up as Mustache grammar. The first bits you’ll want to address when making the crossover are what I term “creature comforts.” In my case, I had five days to find the one’s I used the most and what follows is a short list although there are plenty out there like color pickers for example. As you can see in the screen captures above, Sublime handles this the best. When previewing via the sidebar’s file tree, a file selected would remain open if a click didn’t occur thus requiring another action on the user’s part to close the file. Image previews for PNG, JPEG, ICO assets were wonderful to view directly in the editor, although I didn’t always need this (see the Homer Simpson car). I’m sure if I hunted this down a bit longer I may have been able to solve that dilemma, but again it was only for a short period of time. During my brief visit I had a bit of trouble finding syntax highlighting that worked right for dot files and bash. I’d like to begin by addressing a few general points concerning my time with Atom before discussing particular facets. What follows is my experience during a period of five days using the Open Source code editor from GitHub told through the perspective of a seasoned Sublime user. As an avid Sublime user I decided to see where Atom stood since I last looked the time of early beta stages. For most developers, text editors are just as sacred as discussing the proper way to say “gif.” Sublime Text has been the heavy hitter for some time and for good reason.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |