View previous topic :: View next topic |
Author |
Message |
Torello
Joined: 29 Sep 2006 Posts: 120
|
CCS-IDE find function not working properly |
Posted: Mon Sep 15, 2014 2:01 am |
|
|
Hi,
I don't understand; in versions before 5.026 I could seach flawlessly on string occurences through all my program files. But CCS has changed things and the now implemented right click "find all references" does find some but not all places where, for example, I use a specific function call.
Do I use it wrong, or did CCS demolish this vital function of it's IDE?
ps. I updated to v5.027; same behaviour. _________________ Regards, Edwin. PCWHD v5.114 |
|
|
RF_Developer
Joined: 07 Feb 2011 Posts: 839
|
Re: CCS-IDE find function not working properly |
Posted: Mon Sep 15, 2014 2:12 am |
|
|
Torello wrote: | in versions before 5.026 I could seach flawlessly on string occurences through all my program files. But CCS has changed things and the now implemented right click "find all references" does find some but not all places where, for example, I use a specific function call. |
Neither find all references nor find declaration has worked in any version 5.nnn for me. |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19506
|
|
Posted: Mon Sep 15, 2014 2:55 am |
|
|
Find all references, works for me, but with a major 'caveat' to do with the way auto selection occurs.
If (for instance), I have:
int8 valdig(char dig) {
and click my cursor on the right hand 'g', and drag the selection 'back' to the 'v', and then right click, and say 'find all references', it works. However if instead I start at the 'v' end, and select the rest of the name, it doesn't. Reason is that when you release the mouse, it'll 'autoselect' the word 'dig', and find this instead.....
Once you have twigged to select the required thing 'backwards', it starts to work reasonably. Duh.... |
|
|
Torello
Joined: 29 Sep 2006 Posts: 120
|
|
Posted: Mon Sep 15, 2014 4:42 am |
|
|
I tried your way. But still little luck. It does find the module of declaration, and a module where is is actually not used with the remark line 0 (1,1).
I presume CCS uses it's own IDE also. So then a crappy search function should be encountered by them self pretty soon _________________ Regards, Edwin. PCWHD v5.114 |
|
|
alan
Joined: 12 Nov 2012 Posts: 357 Location: South Africa
|
|
Posted: Mon Sep 15, 2014 7:31 am |
|
|
In the IDE I use the SEARCH tab and then click on "Find in Files" with my cursor on the word I want. That works for me not by right clicking.
Regards |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19506
|
|
Posted: Mon Sep 15, 2014 12:35 pm |
|
|
I agree.
However the point is that they offer the right click ability, and as such it should work.
'Working' seems to relate to the files being used.
Two different projects. On one it works OK, and on the other it doesn't.
Similar size, similar complexity. On the one that doesn't, the right click search does nothing!. Doesn't even put a search result window up. On the other, with the limitation already noted, it works fine. |
|
|
jeremiah
Joined: 20 Jul 2010 Posts: 1346
|
|
Posted: Mon Sep 15, 2014 6:40 pm |
|
|
I've always used the Find in Files method for doing what was mentioned in the opening post. It still works in 5.025. Have you tried that? |
|
|
Torello
Joined: 29 Sep 2006 Posts: 120
|
|
Posted: Tue Sep 16, 2014 12:14 am |
|
|
Please fill me in, because I don't see any "search" tab
The "find in files" used to be in the Ctrl-F dialog but isn't there anymore...
BTW; I opened a support case to CCS for this. _________________ Regards, Edwin. PCWHD v5.114 |
|
|
Torello
Joined: 29 Sep 2006 Posts: 120
|
|
Posted: Tue Sep 16, 2014 12:24 am |
|
|
Ah, "Classic" versus the precious display wasting "Superbar".
Now the search tab is there.
However, the right click "find all references" should work also. And Superbar bar or; it doesn't _________________ Regards, Edwin. PCWHD v5.114 |
|
|
Torello
Joined: 29 Sep 2006 Posts: 120
|
|
Posted: Wed Sep 17, 2014 12:04 am |
|
|
Using the Ctrl+Shift+F shortcut also in the Classic IDE mode the find in files is accessible and does work. _________________ Regards, Edwin. PCWHD v5.114 |
|
|
jeremiah
Joined: 20 Jul 2010 Posts: 1346
|
|
Posted: Wed Sep 17, 2014 6:11 am |
|
|
Don't forget that if the Find All References function doesn't work that you should report it to CCS tech support as a bug. This is just a user forum. |
|
|
gpsmikey
Joined: 16 Nov 2010 Posts: 588 Location: Kirkland, WA
|
|
Posted: Wed Sep 17, 2014 9:20 am |
|
|
He indicated he had "BTW; I opened a support case to CCS for this."
mikey _________________ mikey
-- you can't have too many gadgets or too much disk space !
old engineering saying: 1+1 = 3 for sufficiently large values of 1 or small values of 3 |
|
|
|