java IntelliJ IDEA - 插入符号行为

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4493697/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-30 06:37:07  来源:igfitidea点击:

IntelliJ IDEA - caret behavior

javaintellij-idea

提问by Xorty

I am trying to figure out one thing in IntelliJ IDEA 10:

我试图在 IntelliJ IDEA 10 中找出一件事:

alt text

替代文字

  1. current caret position
  2. where caret moves after pressing DOWN arrow
  3. where I want caret to be
  1. 当前插入符号位置
  2. 按下向下箭头后插入符号移动的位置
  3. 我想要插入符号的地方

Is such setting possible?

这样的设置可以吗?

回答by CrazyCoder

File| Settings(or Preferenceson Mac) | Editor| Allow placement of caret after end of line:

File| Settings(或Preferences在 Mac 上) | Editor| 允许在行尾放置插入符号

Settings | Editor | Allow placement of caret after end of line

设置 |  编辑|  允许在行尾放置插入符号

回答by jpheldson

Please note that this effect can also occur if you activate Column Selection Modeunder: Edit -> Column Selection Modewhich allows you to make square selections.

请注意,如果您在以下激活列选择模式,也会发生这种效果: Edit -> Column Selection Mode它允许您进行方形选择。