05-07-2010 02:48 AM
Colleagues,
Very simple question about CVI IDE.
Is it possible to see whole list of functions for fast and convenient navigation, like in Micro$oft Visual Studio:
When I have C code with more than 20-30 functions and 2000+ lines - its a very inconvenient to scroll up and down every time...
I guess this feature should present in CVI, or I missing something?
How you working with relative large projects in CVI?
Thank you in advance,
Andrey.
05-07-2010 03:07 AM - edited 05-07-2010 03:12 AM
CVI offers the Source Code Browser, which shows informations about files, functions, variables, data types and macros in your code. The code browser can be accessed in several ways: the easiest is to position over an element in the code and press Ctrl+F1: the lower part of the workbench will host the Source Code Browser area (though you can lately release this window to position it wherever you find it useful). There are several other ways to access these informations: I suggest you to look in the online help, topic Using LabWindows/CVI >> Writing Source Code >> Browsing Source Code
CVI has several other ways of navigating in your application:
05-07-2010 03:34 AM
Thanks, Roberto,
The only problem is that Source Code Browser will work in Debug Mode only. Browse information is not available in the Release configuration. So, Ctrl+F1 doesn't work for me. I would like to have list of functions in _release_ configuration. The only way which more or less work - is to have list of function in Find Results.
I read Help topics twice, and all of them are referred to Source Code Browser, which cannot be used in my configuration.
Very inconvenient.
Andrey.
05-07-2010 03:50 AM
In additional, even in Debug configuration, the Source Code Browser is not very good, because newly added functions will not appearead in Code Browser immeadiately like in MSVC. Well, probably this question is just "Feature Request" for NI...
Andrey.
05-07-2010 04:37 AM - edited 05-07-2010 04:37 AM
05-07-2010 05:14 AM
CVI-User wrote:
Another 'workaround' is using keyboard shortcuts for 'Collapse All' and 'Expand All' to toggle between the two views.Message Edited by CVI-User on 05-07-2010 11:37 AM
Good trick, thank you.
But also not ideal, because "Expand Region and SubRegions" menu item is missing. The only available choises are "Expand All" and "Expand region". So, if I have collapsed all, then wants to expand single function - there is no way other than expand all collapsed regions within the function manually.
Anyway better than nothing...
In some cases CVI IDE much better than MSVC (and much easier), but in some cases UI is weird...
Andrey.
03-03-2020 01:19 PM
This would be a great feature! NI are you listening? You seem to be pretty deaf on constructive feedback from customers.
03-03-2020 01:23 PM
All I want to do is find out where a certain method is called throughout a large Labwindows project. Why the hell is this so hard.
03-03-2020 05:04 PM
Right click on the function name and choose "Browse Identifier". That should allow you to see where it is called in the project.
03-04-2020 09:43 PM
Doesn't work in release configuration Einstein