문제

Is it possible to configure PyCharm in the following way:

  • Request auto-completion on any letter key press
  • Complete on space press, instead of enter
  • Request completion for modules not in path

I mean, configure it in VS-way. Also, VS-like hotkeys will be amazing option

도움이 되었습니까?

해결책

PyCharm has reached to 2.7 now. you can customize your key mapping through "Kepmap" under "Settings" ->"Editor". I have a check, some of your requirement can be met by this.

Here is a reference link (http://www.jetbrains.com/pycharm/webhelp/configuring-keyboard-shortcuts.html). Hope above helpful to you.

다른 팁

Not a pro on this but I think you have to use the module name preceding the method you want to call. For example to call a function named doStuff in the settings module call settings.doStuff().

To call the methods directly you need to use "from settings import *". But I think this method is frowned upon.

According to the official PyCharm feature page you press Ctrl-Space to get auto completion. So for example if you type settings and then press Ctrl-Space I believe the IDE will present you with options.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top