jorgenschaefer / elpy

Emacs Python Development Environment
GNU General Public License v3.0
1.9k stars 261 forks source link

share elpy tips/hacks #513

Open ChillarAnand opened 9 years ago

ChillarAnand commented 9 years ago

i have created a new page for elpy at emacswiki. if you are a long time elpy user or if have any tips for newbies or any other hacks please share it here

thank you

jorgenschaefer commented 9 years ago

Thanks for that page! You could add this to the Elpy wiki – or if you prefer the emacswiki, could you add a link to the emacswiki page to the FAQ page?

The problem you describe there is interesting. I don't see that behavior here. Do you think it would be worthwhile to add something like that, or maybe even enable company-yasnippet for elpy?

ChillarAnand commented 9 years ago

+1 for maintaining wiki. Added that to wiki. I wasn't aware of wiki till now. Perhaps you can add a link to it in readme page?

By default comapny-mode has company-idle-delay of 0.5 & company-minimum-prefix-length of 2. So there won't be any conflicts for

  1. single letter expansions
  2. multi letter expansions if you hit tab within 0.5 second.

Since i want autocompletion everywhere & every moment, I set

(setq company-idle-delay 0)
(setq company-minimum-prefix-length 1)

which always causes conflicts.

Whether to add it to elpy or not, I will leave that upto you :)