A journal for sharing all things software development related
Fri, 21 Jun 2019 09:26 UTC by garethbrown
You can use the command line to install atom packages
$ apm install python-debugger language-python
Open command pallete and search 'config' to edit
For package installation then type 'install package'. select Install Packages and Themes.
Search for the package you need:
Open project folder
Find file (with project open)
Find / Replace
Find in current file
Find in Project
Can also add filename filters
Alt-Shift-DownArrow (Linux / GNU)
Replace Tabs with Spaces (and Spaces with Tabs)
Atom has a built-in tool for this.\
Activate the command palette (ShiftCmdP on Mac, CtrlShiftP on Windows/Linux) and search for "convert space" or "convert tab". You should find these three commands are available:
Whitespace: Convert Spaces to Tabs
Whitespace: Convert Tabs to Spaces
Whitespace: Convert All Tabs to Spaces
For column text selection.
Can then use Alt + left mouse click to drag select columns
Shows find results as list
Markdown Preview (Core)
For previewing rendered markdown
https://atom.io/packages/markdown-preview (Installed by default)
C-S-m to render preview.
Find and Replace (Core)
For RegEx find and replace, put
() brackets around each section of text to replace and then use 12 to reinsert the captures along with any other text characters in the replace operation. The below image shows syntax for retaining the captures along with a space.
Allows you to save and open projects
For all commands (save project etc)
C-S-p > Project Manager
Check 'Always Open In Same Window' to prevent it from opening a new instance of atom each time.
Projects save location:
Use 'Edit Projects' command to find
Diff tool in atom, works well with projects. Can 'diff with active file' in tab headers and in the prject menu to get a side by side diff.
Checking Key Bindings
If the keybinding you're using isn't working as expected, you can check your keybindings by using shortcut
C-.to open the Key Binding Resolver
Can remove packages by deleting from folders.
Open command pallete and search settings.
Select 'Settings View: Open'
C-S-p to open command pallete.
Select 'View Installed Packages'
Search for your package.
Open With Atom (Context Menu)
Open Settings and click on System. You’ll see checkboxes for 'Show in file context menus' and 'Show in folder context menus'
Open command pallete.
Settings View: Change Themes
One Dark for UI and Syntax (Dark)
One Light for UI and Syntax (Light)
Making Atom Faster
General proxy settings
Core > Use Proxy Settings When calling APM
If getting error
unable to verify first certificate (Due to network proxy)
In terminal (tested in Windows 2019/09/25) run the following
apm config set strict-ssl false
The information on this site is provided “AS IS” and without warranties of any kind either
express or implied. To the fullest extent permissible pursuant to applicable laws, the author disclaims all warranties, express or implied, including, but not limited to, implied warranties of merchantability, non-infringement and suitability for a particular purpose.