Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] code completion also completes on space

no it is not about auto insert stuff

i have this

object.aaaaa
object.aaabb


then i do code complete

object.a

then i have 2 choices in the completion list

i dont press enter then but space because i want to add a new variable to object and have this:

object.a = 10;

but the result is that i get

object.aaaaa

because the first completion got inserted and i think that is wrong, i pressed space not enter so i just want a space in the script editor.

johan



On Thu, Oct 15, 2009 at 13:00, Michael Spector <spektom@xxxxxxxxx> wrote:
The correct place is:
org.eclipse.dltk.ui.text.completion.ScriptOverrideCompletionProposal.isAutoInsertable()

If I understood the question.


On Thu, Oct 15, 2009 at 12:58 PM, Michael Spector <spektom@xxxxxxxxx> wrote:
It can be configured on the completion engine level ("insert single proposals automatically"), like it's done in PDT.

On Thu, Oct 15, 2009 at 11:31 AM, Johan Compagner <jcompagner@xxxxxxxxx> wrote:
In java if you have this

object.one
object.two

and you complete object

object.o

then you have a list telling that one is a match.

if i press enter it will insert one.

But if i press space, completion will not do anything

in dltk this is different space also completes this is a bit annoying if you want to create a new variable or something on the object
I think only the enter key should complete. what do you think?

johan

_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev




_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev



Back to the top