DDT-IDE / DDT

DDT is an Eclipse-based IDE for the D programming language:
http://ddt-ide.github.io/
101 stars 16 forks source link

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

Open llucenic opened 9 years ago

llucenic commented 9 years ago

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 commented 9 years ago

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

Kozzi11 commented 9 years ago

This one is very unpleasant for me :(

bruno-medeiros commented 8 years ago

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 commented 8 years ago

Thanks I will try it ASAP

Kozzi11 commented 8 years ago

Yeah, with ctrl + enter it is ok