Eclipse delete word behavior
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.
精彩评论