Z
Z
zebsier2018-08-07 21:47:00
Java
zebsier, 2018-08-07 21:47:00

How in Eclipse to disable the option selection from the code completion window on pressing the space bar?

I have code completion enabled in Eclipse, so when I type the code, I get a hint and options to choose from. The problem is that Eclipse selects the first line from the list and inserts it. For example: I enter import java.util. and I want to enter Scanner further, I start typing Sc and a hint pops up for me and Scanner is selected in it, and if I press the spacebar at the moment, Eclipse inserts the whole Scanner. How can I make such inserts work only by pressing enter? It’s terribly inconvenient when I used Idea, everything worked there as it should, you type the code, prompts pop up, but until you select the right one from the list with the arrows or the mouse and press enter, nothing was inserted. How to do the same on eclipse?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question