Skip to content

Instantly share code, notes, and snippets.

@dehora
Created April 9, 2018 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dehora/9db5484a42edf5889effe543d1fb89dc to your computer and use it in GitHub Desktop.
Save dehora/9db5484a42edf5889effe543d1fb89dc to your computer and use it in GitHub Desktop.
fix pycharm console start crash with anaconda
subl /Users/bdehora/Library/Application\ Support/JetBrains/Toolbox/apps/PyCharm-P/ch-1/181.4445.28/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_ipython_console_011.py
class PyDevIPCompleter(IPCompleter):
def __init__(self, *args, **kwargs):
""" Create a Completer that reuses the advanced completion support of PyDev
in addition to the completion support provided by IPython """
IPCompleter.__init__(self, *args, **kwargs)
# Use PyDev for python matches, see getCompletions below
# @@@ trap this
try:
self.matchers.remove(self.python_matches)
except ValueError:
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment