For the non-believers: Now that I've been paying attention to when I'm using this, it's mostly to select multiple words. For example, consider the following:
ANamespace.SomeType.AMember
I want to select "SomeType.AMember". I can hold down CTRL, click anywhere in SomeType and drag to anywhere in AMember and it selects both entire words (plus dot). Try it. You'll never go back!
For the non-believers: Now that I've been paying attention to when I'm using this, it's mostly to select multiple words. For example, consider the following:
>
ANamespace.SomeType.AMember
>
I want to select "SomeType.AMember". I can hold down CTRL, click anywhere in SomeType and drag to anywhere in AMember and it selects both entire words (plus dot). Try it. You'll never go back!
You can also double-click in any one of the words, and on the second click hold down the mouse button and drag to select by words. I do it all the time. Still far more convenient for me than holding down ctrl and making this a "two-handed operation"...
For the non-believers: Now that I've been paying attention to when I'm using this, it's mostly to select multiple words. For example, consider the following:
>
ANamespace.SomeType.AMember
>
I want to select "SomeType.AMember". I can hold down CTRL, click anywhere in SomeType and drag to anywhere in AMember and it selects both entire words (plus dot). Try it. You'll never go back!
You can also double-click in any one of the words, and on the second click hold down the mouse button and drag to select by words. I do it all the time. Still far more convenient for me than holding down ctrl and making this a "two-handed operation"...
>> Amen! This is still killing me! >> >> For the non-believers: Now that I've been paying attention to when I'm >> using this, it's mostly to select multiple words. For example, consider >> the following: >> >> ANamespace.SomeType.AMember >> >> I want to select "SomeType.AMember". I can hold down CTRL, click anywhere >> in SomeType and drag to anywhere in AMember and it selects both entire >> words (plus dot). Try it. You'll never go back! >> >> "Chris Martin" <no_mail@jetbrains.com> wrote in message >> news:12975084.1130615349444.JavaMail.itn@is.intellij.net... >>> How do I turn off the Ctrl+LeftClick behavior? I'm used to >>> Ctrl+LeftClick selecting a word not navigating to a type or method. >> >> >
>> You can also double-click in any one of the words, and on the second >> click hold down the mouse button and drag to select by words. I do >> it all the time. Still far more convenient for me than holding down >> ctrl and making this a "two-handed operation"... >> >> "Jeff Key" <spam@sliver.com> wrote in message >> news:dkb9hg$2d8$1@is.intellij.net... >> >>> Amen! This is still killing me! >>> >>> For the non-believers: Now that I've been paying attention to when >>> I'm using this, it's mostly to select multiple words. For example, >>> consider the following: >>> >>> ANamespace.SomeType.AMember >>> >>> I want to select "SomeType.AMember". I can hold down CTRL, click >>> anywhere in SomeType and drag to anywhere in AMember and it selects >>> both entire words (plus dot). Try it. You'll never go back! >>> >>> "Chris Martin" <no_mail@jetbrains.com> wrote in message >>> news:12975084.1130615349444.JavaMail.itn@is.intellij.net... >>> >>>> How do I turn off the Ctrl+LeftClick behavior? I'm used to >>>> Ctrl+LeftClick selecting a word not navigating to a type or method. >>>>
What I would really like to have is a way to select individual "word" of a capitalized variable.
For example, if I have the variable clientBusinessAddress, I want to be able to quickly just select client or Business or Address or ClientBusiness or BusinessAddress.
It's something that I have to do often. Maybe this already exists and I have missed it?
Also, is there a "UnSurround action"?
Let's say I'm taking a block of code out of a if statement, I'd like to position myself on the opening bracket and then quickly remove both the opening & closing bracket. It's a minor point, it's just that I don't like the short period of time after removing the first bracket that ReSharper will start highlighting all sorts of errors until I delete the closing bracket.
Perhaps some developper would also like the ability to remove the "Try/catch" part of a block of code (Or For, or While, or any of the "Surround With" option.)
Oh yeah, I absolutely miss this feature from IntelliJ IDEA!
It would be nice if you could set an option for the select word feature to recognize "CamelCase" or "pascalCase" for word boundries. I do hope they consider adding such support at some point, but I'm sure it's not an item being considered for 2.0. Maybe for 2.x. And I'm sure it'll be a feature of their stand-alone IDE, because it's in their java IDEA product already.
And for the "Unsurround" action, it's very simple:
Select the text you want to "unsurround", CTRL-C to copy, then CTRL-W to expand the selection (usually you only need to press this once, but sometimes twice in the case of if/then/else constructs, etc), and then CTRL-V to paste.
It took me a while to get used to that sequence, but I do it all the time now and it's fast, and works brilliantly. No real need for a separate "unsurround-with" feature, which would likely be more awkward to use anyway. This works for any sort of indented structure (if, while, try/catch, etc). And CTRL-W works great for doing the initial selection as well (and you can always shift-Ctrl-W if you over-select too much). Very handy.
What I would really like to have is a way to select individual "word" of a capitalized variable.
>
For example, if I have the variable clientBusinessAddress, I want to be able to quickly just select client or Business or Address or ClientBusiness or BusinessAddress.
>
It's something that I have to do often. Maybe this already exists and I have missed it?
>
Also, is there a "UnSurround action"?
>
Let's say I'm taking a block of code out of a if statement, I'd like to position myself on the opening bracket and then quickly remove both the opening & closing bracket. It's a minor point, it's just that I don't like the short period of time after removing the first bracket that ReSharper will start highlighting all sorts of errors until I delete the closing bracket.
>
Perhaps some developper would also like the ability to remove the "Try/catch" part of a block of code (Or For, or While, or any of the "Surround With" option.)
Oh yeah, I absolutely miss this feature from IntelliJ IDEA!
>
It would be nice if you could set an option for the select word feature to recognize "CamelCase" or "pascalCase" for word boundries. I do hope they consider adding such support at some point, but I'm sure it's not an item being considered for 2.0. Maybe for 2.x. And I'm sure it'll be a feature of their stand-alone IDE, because it's in their java IDEA product already.
>
And for the "Unsurround" action, it's very simple:
>
Select the text you want to "unsurround", CTRL-C to copy, then CTRL-W to expand the selection (usually you only need to press this once, but sometimes twice in the case of if/then/else constructs, etc), and then CTRL-V to paste.
>
It took me a while to get used to that sequence, but I do it all the time now and it's fast, and works brilliantly. No real need for a separate "unsurround-with" feature, which would likely be more awkward to use anyway. This works for any sort of indented structure (if, while, try/catch, etc). And CTRL-W works great for doing the initial selection as well (and you can always shift-Ctrl-W if you over-select too much). Very handy.
>> What I would really like to have is a way to select individual "word" of >> a capitalized variable. >> >> For example, if I have the variable clientBusinessAddress, I want to be >> able to quickly just select client or Business or Address or >> ClientBusiness or BusinessAddress. >> >> It's something that I have to do often. Maybe this already exists and I >> have missed it? >> >> Also, is there a "UnSurround action"? >> >> Let's say I'm taking a block of code out of a if statement, I'd like to >> position myself on the opening bracket and then quickly remove both the >> opening & closing bracket. It's a minor point, it's just that I don't >> like the short period of time after removing the first bracket that >> ReSharper will start highlighting all sorts of errors until I delete the >> closing bracket. >> >> Perhaps some developper would also like the ability to remove the >> "Try/catch" part of a block of code (Or For, or While, or any of the >> "Surround With" option.) >> >> >
Amen! This is still killing me!
For the non-believers: Now that I've been paying attention to when I'm using
this, it's mostly to select multiple words. For example, consider the
following:
ANamespace.SomeType.AMember
I want to select "SomeType.AMember". I can hold down CTRL, click anywhere in
SomeType and drag to anywhere in AMember and it selects both entire words
(plus dot). Try it. You'll never go back!
"Chris Martin" <no_mail@jetbrains.com> wrote in message
news:12975084.1130615349444.JavaMail.itn@is.intellij.net...
Of course, don't try this w/the latest build of ReSharper ;).
-jk
"Jeff Key" <spam@sliver.com> wrote in message
news:dkb9hg$2d8$1@is.intellij.net...
>
>
>
>
>> How do I turn off the CtrlLeftClick behavior? I'm used to CtrlLeftClick
>> selecting a word not navigating to a type or method.
>
You can also double-click in any one of the words, and on the second click
hold down the mouse button and drag to select by words. I do it all the
time. Still far more convenient for me than holding down ctrl and making
this a "two-handed operation"...
"Jeff Key" <spam@sliver.com> wrote in message
news:dkb9hg$2d8$1@is.intellij.net...
>
>
>
>
>> How do I turn off the CtrlLeftClick behavior? I'm used to CtrlLeftClick
>> selecting a word not navigating to a type or method.
>
How about that. Thanks for the tip!
I will bring you to our side, Paul! It's only a matter of time...
"Paul Bradshaw" <pbradshaw@advsol.com> wrote in message
news:dkbe3n$k77$1@is.intellij.net...
>
>> Amen! This is still killing me!
>>
>> For the non-believers: Now that I've been paying attention to when I'm
>> using this, it's mostly to select multiple words. For example, consider
>> the following:
>>
>> ANamespace.SomeType.AMember
>>
>> I want to select "SomeType.AMember". I can hold down CTRL, click anywhere
>> in SomeType and drag to anywhere in AMember and it selects both entire
>> words (plus dot). Try it. You'll never go back!
>>
>> "Chris Martin" <no_mail@jetbrains.com> wrote in message
>> news:12975084.1130615349444.JavaMail.itn@is.intellij.net...
>>> How do I turn off the Ctrl+LeftClick behavior? I'm used to
>>> Ctrl+LeftClick selecting a word not navigating to a type or method.
>>
>>
>
Y'all might want to try ctrl+w. For me, it works better in almost every
case.
>> You can also double-click in any one of the words, and on the second
>> click hold down the mouse button and drag to select by words. I do
>> it all the time. Still far more convenient for me than holding down
>> ctrl and making this a "two-handed operation"...
>>
>> "Jeff Key" <spam@sliver.com> wrote in message
>> news:dkb9hg$2d8$1@is.intellij.net...
>>
>>> Amen! This is still killing me!
>>>
>>> For the non-believers: Now that I've been paying attention to when
>>> I'm using this, it's mostly to select multiple words. For example,
>>> consider the following:
>>>
>>> ANamespace.SomeType.AMember
>>>
>>> I want to select "SomeType.AMember". I can hold down CTRL, click
>>> anywhere in SomeType and drag to anywhere in AMember and it selects
>>> both entire words (plus dot). Try it. You'll never go back!
>>>
>>> "Chris Martin" <no_mail@jetbrains.com> wrote in message
>>> news:12975084.1130615349444.JavaMail.itn@is.intellij.net...
>>>
>>>> How do I turn off the Ctrl+LeftClick behavior? I'm used to
>>>> Ctrl+LeftClick selecting a word not navigating to a type or method.
>>>>
What I would really like to have is a way to select individual "word" of
a capitalized variable.
For example, if I have the variable clientBusinessAddress, I want to be able
to quickly just select client or Business or Address or ClientBusiness or
BusinessAddress.
It's something that I have to do often. Maybe this already exists and I have
missed it?
Also, is there a "UnSurround action"?
Let's say I'm taking a block of code out of a if statement, I'd like to position
myself on the opening bracket and then quickly remove both the opening &
closing bracket. It's a minor point, it's just that I don't like the short
period of time after removing the first bracket that ReSharper will start
highlighting all sorts of errors until I delete the closing bracket.
Perhaps some developper would also like the ability to remove the "Try/catch"
part of a block of code (Or For, or While, or any of the "Surround With"
option.)
Oh yeah, I absolutely miss this feature from IntelliJ IDEA!
It would be nice if you could set an option for the select word feature to
recognize "CamelCase" or "pascalCase" for word boundries. I do hope they
consider adding such support at some point, but I'm sure it's not an item
being considered for 2.0. Maybe for 2.x. And I'm sure it'll be a feature
of their stand-alone IDE, because it's in their java IDEA product already.
And for the "Unsurround" action, it's very simple:
Select the text you want to "unsurround", CTRL-C to copy, then CTRL-W to
expand the selection (usually you only need to press this once, but
sometimes twice in the case of if/then/else constructs, etc), and then
CTRL-V to paste.
It took me a while to get used to that sequence, but I do it all the time
now and it's fast, and works brilliantly. No real need for a separate
"unsurround-with" feature, which would likely be more awkward to use anyway.
This works for any sort of indented structure (if, while, try/catch, etc).
And CTRL-W works great for doing the initial selection as well (and you can
always shift-Ctrl-W if you over-select too much). Very handy.
"Jeff Heon" <jfheon@yahoo.com> wrote in message
news:6b75b6e553378c7ae83ccc3ad95@news.jetbrains.com...
>
>
>
>
>
>
Hi Paul,
Thanks for you "Unsurround" recipe, it's great!
Great tip, Paul. Thanks!
"Paul Bradshaw" <pbradshaw@advsol.com> wrote in message
news:dkg794$cq9$1@is.intellij.net...
>
>
>
>
>
>
>> What I would really like to have is a way to select individual "word" of
>> a capitalized variable.
>>
>> For example, if I have the variable clientBusinessAddress, I want to be
>> able to quickly just select client or Business or Address or
>> ClientBusiness or BusinessAddress.
>>
>> It's something that I have to do often. Maybe this already exists and I
>> have missed it?
>>
>> Also, is there a "UnSurround action"?
>>
>> Let's say I'm taking a block of code out of a if statement, I'd like to
>> position myself on the opening bracket and then quickly remove both the
>> opening & closing bracket. It's a minor point, it's just that I don't
>> like the short period of time after removing the first bracket that
>> ReSharper will start highlighting all sorts of errors until I delete the
>> closing bracket.
>>
>> Perhaps some developper would also like the ability to remove the
>> "Try/catch" part of a block of code (Or For, or While, or any of the
>> "Surround With" option.)
>>
>>
>