Reputation: 96391
I have a text file that looks like:
a=12
b=13
c=14
d =15
e = 16
f = 17
Some of the numbers have spaces after them. Some don't. Some have tabs etc.
It seems that when i am in InteliJ's editor any place i click on is well .. clickable.
How can i restrict it by actual line length?
Upvotes: 1
Views: 2420
Reputation: 27844
Settings
-> Editor
-> Allow placement of caret after end of line
.
Upvotes: 4
Reputation: 308763
You can set the global code style to do things like put spaces around the assignment operator, and then do a global "reformat code" by selected text, file, or entire project.
I use IntelliJ 12:
Upvotes: 0