L
L
lololololo2015-03-25 15:33:09
Java
lololololo, 2015-03-25 15:33:09

How to automatically add; in eclipse?

After python, it is rather unusual to write ";" , and you also need to press the shift for it. Can I make it automatically add ;? Or what is the best way to solve it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
Copperfield, 2015-03-25
@Copperfield

So this is wrong. The semicolon marks the end of an expression, and the end of a line may NOT mark the end of an expression.
And how do you present this feature in situations like:

if(someValue){;
}
for(;;){;
}

M
MiiNiPaa, 2015-03-25
@MiiNiPaa

And what layout do you use, what for; do you need a shift?
On the merits of the question: as far as I know out of the box, there is no such possibility. You could try defining a macro, say Ctrl + Shift + N = print ;<Line break>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question