Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

Content Assist in selective imports should not add symbol arguments #114

Open
llucenic opened this issue Jun 23, 2015 · 5 comments
Open

Comments

@llucenic
Copy link

When invoking Content Assist on a symbol in a selective import clause, the symbol is looked up correctly, but the arguments are added in the source code (appeared in 0.12.0).

ddt-bug-sel-import-arg-1
ddt-bug-sel-import-arg-2

@bruno-medeiros
Copy link
Contributor

Hum, identical problem also happens with alias declaration, for example: alias f = func(a)

@Kozzi11
Copy link

Kozzi11 commented Aug 27, 2015

This one is very unpleasant for me :(

@bruno-medeiros
Copy link
Contributor

I've comited a change with a workaround for this. The same content assist proposals as before as displayed, but now if you press Ctril+Enter when a function proposal is selected, it will insert only the name of the function (no arguments). It's not a full fix, but should be an improvement, and might be useful in other scenarios as well (for example, assigning a delegate).

@Kozzi11
Copy link

Kozzi11 commented Sep 30, 2015

Thanks I will try it ASAP

@Kozzi11
Copy link

Kozzi11 commented Nov 5, 2015

Yeah, with ctrl + enter it is ok

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants