autocomplete-plus-python-jedi icon indicating copy to clipboard operation
autocomplete-plus-python-jedi copied to clipboard

def snippet and underscore

Open ehajri opened this issue 10 years ago • 6 comments

As described in this link, def snippet followed by a name contains an underscore causes it to act funny.

note that I am using Jedi that is shipped with the package.

ehajri avatar May 29 '15 13:05 ehajri

I appreciate if someone can look into this.

  • Atom 0.204.0
  • snippets 0.91.0
  • autocomplete-plus-python-jedi 0.3.5

With autocomplete-plus-python-jedi disabled: without

With autocomplete-plus-python-jedi enabled: with

ehajri avatar Jun 01 '15 09:06 ehajri

Anyone is reading this?

Is more information required?

ehajri avatar Jun 03 '15 11:06 ehajri

That is.. weird. Yes, I'm reading it, sorry. I was just a bit busy this week. I'll look into this. Does it happen every time?

tinloaf avatar Jun 03 '15 20:06 tinloaf

Thanks for your response.

Yes, every single time unless autocomplete-plus-python-jedi is disabled.

I have just reproduced the issue with a total of 4 computers; 2 Mac OS X, Ubuntu 14, and Windows 7.

ehajri avatar Jun 03 '15 20:06 ehajri

@tinloaf, this is very messy and annoying. Is there a workaround?

I just ran into another case; class snippet and its name doesn't contain an underscore. [class IndexView(object) -> class IndexView(arg)(object)]

Were you able to reproduce this?

Is using snippets with autocomplete wrong?

ehajri avatar Jun 06 '15 18:06 ehajri

Sorry, I'm currently a bit busy. This really seems very strange, I hope to find the time today or tomorrow to look at this. Thanks for holding out!

tinloaf avatar Jun 10 '15 10:06 tinloaf