Skip to content

Instantly share code, notes, and snippets.

@marat-chardymov
Last active March 14, 2017 15:34
Show Gist options
  • Save marat-chardymov/5ef8da93cd9736dcc5c8461e78395610 to your computer and use it in GitHub Desktop.
Save marat-chardymov/5ef8da93cd9736dcc5c8461e78395610 to your computer and use it in GitHub Desktop.

Look and Feel

  • quick theme change ctrl+back quote, enter presentation mode, change keymap quickly(might be useful for pair programming)

Navigation

  • alt home navigation bar(quicker than tree navigation isn't it?), alt+insert to create file on the spot or folder or rails generator
  • ctrl+shift+e recent files
  • run action (ctrl+shift+A)
  • find current file in project tree(Alt+f1)
  • !!! ctrl+click(ctrl+b go to declaration) global navigation by classes and methods, including 3rd party sources and yard docs/comments!!! (edited)
  • close block by clicking tiny minus, even if you're in the bottom of the block. Useful when you're dealing with big methods/json/xml Go to the beginning/end of current block ctrl+[/]
  • search in non-project files(3rd party dependencies)
  • list of methods and fields ctrl+f12

Sandbox

  • create scratch file ctrl+shift+alt+insert, play around, run ctrl+f10, go to scratches view(project view)

Niceties

  • smart select(ctrl+w)
  • surround with ctrl+alt+j
  • call method on the spot and create definition with alt+enter
  • auto close tags(Do you hear me Atom?)
  • ctl+alt+j wrap with tags
  • i18n replace placeholder with actual values
  • database util creates connection using app datasource config
  • git annotate, compare branches, ctrl+k(~git gui) plus quick edit available just click lock icon,ctrl+shift+k(push changes) alt+9 (~gitk). Cool feature - open specific commit on github
  • camelCase/snake_case switches (ctrl+shift+U/alt+shift+U)
  • multiselect(press scroll and drug)

Refactoring & debug

  • code inspect/cleanup/duplicate
  • refactoring/renaming(ctrl+alt+shift+T, for example extract partial)
  • go to ability(ctrl+alt+arrows)
  • boolean expression analysis(gives tips how to simplify expression if possible)
  • shows syntax error with quick go to (f2)
  • real debugger with stepIn/step over, stop on exception
  • markdown support out of the box(wysiwig). (Demo.markdown)
  • safe delete(search for usages + ability to revert deleted file)

General

  • autosave
  • autocomplete(works even for migrations for table/column names,types)
  • !!! syntax highlight for ALL out of the box !!!
  • working with files outside of project scope(copying/pasting/drag&drop)
  • plugins, open actions dialog(ctrl+shift+a) find plugins
  • bundled with beautyfier(ctrl+alt+L or ctrl+shift+alt+L in ubuntu)

Rails

  • rails view
  • generators ctrl+alt+g
  • call rake task ctrl+alt+R
  • quick navigation between controller and corresponding view
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment