Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 24 Next »

Related pages

  • ...






The best sequence to learn shortcuts in

  • Learn "Shift-Shift" to look up the shortcut to do something.



How to do various things in PyCharm

General appearance / colors

  • To switch between the night theme and day theme, hit Ctrl+ ` , then '5' to select the 'Look and Feel' option, and then choose either '1' for Darcula (the night theme) or '2' or '3' for either the IntelliJ day theme or a Windows day theme (respectively).
    • Note that the 'Look and Feel' refers to both the IDE and the editor (the text area), while the 'Color Scheme' options you'll see are only referring to the editor (the text area). (Source)


Git

  • Add a file to git when you've selected it in the Project sidebar: ctrl+alt+a
  • View git blame: Press Shift twice (quickly), then type out 'Annotate' and select that option.


Navigation

  • Switch tabs
    • alt+left and alt+right
    • Alternatively, hold down ctrl+tab and use the arrow keys to choose what you want to navigate to.
  • Close a tab: ctrl + F4


Cursors

  • create multiple cursors in adjacent rows: (IDK how to do this yet)

Copy

  • copy row at cursor: (IDK how to do it but I've seen Cody do it.)


Modify

  • Format code: ctrl+alt+l (the lowercase letter "L")
  • Find and replace: ctrl+r


How to have your windows set up

  • 2016.10.23 - I'm finding that I really like having two windows open side-by-side, where one pane is for the actual code and the other pane is for the tests.
    • Right-click and select 'Split vertically'.
    • Also, I'm finding that I like zooming the code out in each pane so that I can see the entire function at once.


Find

  • Find misc. useful information, like the keyboard combination for a particular command: shift-shift.
  • Find and replace: ctrl+r



Changes I've made to my PyCharm settings

Settings

  • Editor
    • General
      • Smart Keys
        • Enable 'Surround selection on typing quote or brace'
      • Mouse
        • Enabled 'Change font size (Zoom) with Ctrl+Mouse Wheel.'


Shortcuts

  • I reassigned 'Rename' to Ctrl+Backquote, which had been set to 'Quick Scheme Switch', and I reassigned that command to Shift+F6, which had been the combo for Rename.
  • Ctrl+Shift+x to 'Run'
  • Alt+a to 'Select Line at Caret'
  • Alt+Shift+w to 'Close Active Tab'

Plugins

  • Markdown support
    • Create a markdown file ("test.md").
    • You should see an alert saying something like "PyCharm has plugins enabling markdown support." With a button that says "Install".
    • Restart PyCharm.








  • No labels