atom.io auto create html basic structure
You’re looking for autocomplete-snippets. Simply type html and press Enter Here’s a terrible GIF to prove it:
You’re looking for autocomplete-snippets. Simply type html and press Enter Here’s a terrible GIF to prove it:
When working on packages locally, here’s the recommended workflow: Clone your package from GitHub using apm develop <package-name>. This will clone the package’s repo to your local ~/.atom/dev/packages/<package-name> cd into this directory Start Atom in this directory using atom -d . Now you can work on the package, make changes, etc. Once you’re ready to … Read more
I am going to make several assumptions. You are running on Ubuntu and you’ve installed Atom via Snap. If these assumptions are correct the cause of the issue is a misconfigured application menu item from the Snap package author. To fix it you just need to run this command: sudo sed -i ‘s/Exec=env BAMF_DESKTOP_FILE_HINT=\/var\/lib\/snapd\/desktop\/applications\/atom_atom.desktop \/snap\/bin\/atom … Read more
This is probably due to the Exclude VCS Ignored Paths setting in Atom’s Core settings. Please try the search again after unselecting the respective checkbox in the settings: You can find this setting on the first page of the Atom Settings, a bit down under Core Settings. The setting’s description describes what is excluded from … Read more
You can add the following code to your init.coffee file: atom.commands.add ‘atom-text-editor’, ‘custom:cut-line’, -> editor = atom.workspace.getActiveTextEditor() editor.selectLinesContainingCursors() editor.cutSelectedText() You can get the code to execute from the source by searching for strings in the command palette. And once you have a command created, you can map a key to it by editing your keymap.cson … Read more
There is a Show Invisibles checkbox in the Editor Settings. You can customize how these characters look too.
If your currently open project is using Git as a revisioning system, the arrow in the gutter means that you deleted one or more lines at this location in the file. If you commit (or roll back) your changes, the arrow is going to disappear. Running a “git diff” on your file should show that … Read more
Pressing Alt + Enter will select all instances matching your Find results. This works for RegEx search also. Source: https://github.com/atom/find-and-replace/pull/290
This feature was released in version 1.12 of Atom, implemented in Pull Request #120. To enable it, checkmark the option labeled Add Known Words, found in Packages -> Settings View -> Open, or shortcut Cmd + ,. Then go to Packages tab and search for spell-check. Then, to add a word to the builtin dictionary, … Read more
Open settings with File > Settings Click Keybindings Filter the list by typing ctrl-alt-= in the search box. Click the clipboard icon next to the shortcut. This will copy the shortcut definition to your clipboard. Click the hyperlinked text your keymap file. Paste in the contents of the clipboard. Replace ‘pane:increase-size’ with the value ‘unset!’ … Read more