开发者

Eclipse delete word behavior

开发者 https://www.devze.com 2023-01-22 00:17 出处:网络
What preference in Eclipse controls how much is deleted when you press control-delete/backspace?This is the delete whole word command as defined by the operating system (but I imagine expanded on in E

What preference in Eclipse controls how much is deleted when you press control-delete/backspace? This is the delete whole word command as defined by the operating system (but I imagine expanded on in Eclipse).

In CDT, it's great. If you press control-delete in some white space it will delete all the way up to the first character. Like so (with | being the cursor):

function |      foo() {

gives you:

function foo() {

But in PDT, it's terrible! It behaves as if white space isn't a word and deletes the w开发者_开发百科hite space and the next word:

function () {

How can I make PDT behave like CDT?


There has been a couple of PDT editor bugs (like bug 210108 or bug 247630).

So if this ("this" being the improper CTRL+DEL behavior) is confirmed with the latest PDT version (like 2.2.0), this is a god candidate for a bug report.

0

精彩评论

暂无评论...
验证码 换一张
取 消