Вопрос

I've recently begun learning Ruby and I'm really enjoying it so far. The IDE I've chosen to use is RubyMine (as it's similar to PhpStorm). There is however one feature which annoys me greatly and I cannot find the configuration for.

What I want to get rid of is: When coding I am able to click in the middle of a line (where I haven't placed whitespace), and the cursor will jump there and allow me to type there (as if I had placed indented the code a long way before beginning to write).

                                  The result might look something like this.

If I clicked in the middle of the line and began typing.

Does anyone know how to turn this feature off?

If my description is too vague, please let me know.

Thanks in advance!

Это было полезно?

Решение

You need to disable Settings | Editor | Virtual Space | Enable placement of caret after end of line

Другие советы

If you find that Allow placement of caret after end of line is already unchecked, try checking the box then exit and restart the IDE. Go back into settings and un-check again. This was the only way I could get it to work on a fresh install of PhpStorm v3.0.3 - no amount of check/uncheck would disable the behavior without this restart sequence.

In Rubymine 4.5 I needed to restart in order to get rid off the carets

In RubyMine 5.4, File > Settings > IDE Settings section > Editor > Virtual space "section" > [*] Allow placement of caret after end of line

Remove the check from the checkbox.

It does not require restarting.

In RubyMine 7.1 File > Preferences > Editor > General, Virtual Space section

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top