Is there any keyboard shortcut to select the word under cursor like mouse double-click is doing?
I didn't find anything nor in the help neither here...
I am using Coelite on Win.
Many thanks for your answers!
Select word under cursor
-
- CodeLite Curious
- Posts: 5
- Joined: Fri Aug 28, 2015 12:05 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Select word under cursor
Many years ago, we had such a keyword
Please post a feature request and it will be available on the next weekly build
Eran
Please post a feature request and it will be available on the next weekly build
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 5
- Joined: Fri Aug 28, 2015 12:05 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Select word under cursor
Hi Eran,
the feature has been successfully introduced with V9.0.3. In later versions it disappeared unfortunately... Is this by intentention or maybe by fault?
Cheers,
Jörg
the feature has been successfully introduced with V9.0.3. In later versions it disappeared unfortunately... Is this by intentention or maybe by fault?
Cheers,
Jörg
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Select word under cursor
Its still there... (in more than one way):
1) place the caret where you want and click Ctrl-K - this will select it. From here:
- click F3 to search normally
- click Ctrl-K to select the next match, while keeping the current selection (i.e. you will have 2 selections)
- click Ctrl-Shift-K to select all occurrences of the word
2) place the caret where you want and from the menu: search->find and replace->select word under the caret (you can assign a shortcut for this from: settings->keyboard shortcuts)
Eran
1) place the caret where you want and click Ctrl-K - this will select it. From here:
- click F3 to search normally
- click Ctrl-K to select the next match, while keeping the current selection (i.e. you will have 2 selections)
- click Ctrl-Shift-K to select all occurrences of the word
2) place the caret where you want and from the menu: search->find and replace->select word under the caret (you can assign a shortcut for this from: settings->keyboard shortcuts)
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 5
- Joined: Fri Aug 28, 2015 12:05 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Select word under cursor
Hi Eran,
thanks for the response.
There are 2 different features doing similar things: Search -> Find and Replace -> Find Word At Caret and Search -> Find and Replace -> Quick Add Next.
The Quick Add Next is exactly what i'm using and behaves as you described. Unfortunately, in V9.0.7 it doesn't appear in the keyboard shortcut list any more and Strg-K doesn't work.
Perhaps i'm doing something wrong!?
Many thanks in advance!
Cheers,
Jörg
thanks for the response.
There are 2 different features doing similar things: Search -> Find and Replace -> Find Word At Caret and Search -> Find and Replace -> Quick Add Next.
The Quick Add Next is exactly what i'm using and behaves as you described. Unfortunately, in V9.0.7 it doesn't appear in the keyboard shortcut list any more and Strg-K doesn't work.
Perhaps i'm doing something wrong!?
Many thanks in advance!
Cheers,
Jörg
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Select word under cursor
Strange, I can see it here:
Eran
Try clicking on the 'Defaults' button on this dialog (settings->keyboard shortcuts)Eran
You do not have the required permissions to view the files attached to this post.
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 5
- Joined: Fri Aug 28, 2015 12:05 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Select word under cursor
Thanks for your help! Hitting the "Defaults" button helped. Now i lost all my shortcuts
Is there a way to export/import shortcuts by a file?
Jörg
Is there a way to export/import shortcuts by a file?
Jörg
-
- CodeLite Curious
- Posts: 5
- Joined: Fri Aug 28, 2015 12:05 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Select word under cursor
Looks like the issue occured on my Win10 only. On my main development PC with Win7 everything works fine after the update.
Regards,
Jörg
Regards,
Jörg