First of all, I was unsure what the title of this question should be so I just gave it my best shot. I just started using Eclipse as my IDE, it's a great IDE and all but I get annoyed when I highlight a portion of code to be edited or replaced, any code after it gets deleted. So for example:
System.out.println(theScanner.nextLine());
I want to replace nextLine
with nextDouble.
I would highlight nextLine
and type in nextDouble
but then the ()()(); would be erased and I would have to type them in again. Is there a way to fix this?
Click Windows > Preferences
. Type content assist in search box. Select Completion overwrites
option as shown below
Keep cursor after character t
then press Ctrl + Space .
Then type d
then select nextDouble
method press Enter
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.