Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • "Update method:" should be "Branch default"
  • "Auto-update if push of the current branch was rejected" should be unchecked

General Tips

Increase the memory available to PyCharm

The default memory allocated to PyCharm's Java JDK is too small for edx-platform, so you should update it:

...

Tip

The simplest way to create this is from the Help menu choose "Edit Custom VM Options..

  1. If you do not see this file, copy it from /Applications/PyCharm.app/Contents/bin/ using the terminal command:  cp /Applications/PyCharm.app/Contents/bin/pycharm.vmoptions ~/Library/Preferences/PyCharm2018.1/

Increase the -Xms and -Xmx settings, e.g. something like the following:

No Format
-Xms512m
-Xmx2048m
-XX:MaxPermSize=350m
-XX:ReservedCodeCacheSize=240m
-XX:+UseCompressedOops
-agentlib:yjpagent=delay=10000

...

Restart PyCharm

Note

~/Library/Preferences are hidden folders and so you might have to enable Hidden Folders view to be able to see this folder structure.

...

Show open file in Navigator

A nice to have setting is to enable Autoscrolling autoscrolling in the Project Navigation within PyCharm

  1. On the top of the Navigation pane, to the right of the "Project" selection, select the "Gear" icon.
  2. Enable "Autoscroll to Source"Enable "Autoscroll from SourceAlways Select Opened File"

Now when you open a file it the Navigation pane will highlight that file.

...