LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Will CVI get intellisense like capabilities? Code Folding?

What I want to know is are there plans to implement a more expansive intellisense like capability? (auto-completion, case correction suggestion, etc)  also the ability to generate a function stub from a call would be nice, prolly not too hard to add either if CVI started parsing the source while it's being developed instead of just at compile time.
 
Also is NI considering implementing tools for code folding? I'm getting sick of having to mousewheel through 30 pages of code to get to a function, going past stuff I'm not working with whatsoever.
0 Kudos
Message 1 of 7
(4,274 Views)
Thanks for the feedback, Daniel.

Code folding is a feature that is requested frequently, and NI is definitely going to be addressing it fairly soon.

As far as the intellisense features are concerned, auto-completion has been supported for a while, but I may be misunderstanding your exact use case. Could you give us some more details? And maybe also an example of what you mean by case correction? I don't know if you are referring to C keywords (which CVI doesn't correct for) or function names and other identifiers, which you can correct for when you auto-complete -- provided that you have built your project beforehand.

Luis
NI
0 Kudos
Message 2 of 7
(4,238 Views)
looking back at my OP, I wasn't very clear...  In Microsoft's implementation of intellisense, I can type in F, and it will pop up an intellisense dialog suggesting auto completions for all possible identifiers and keywords that begin with the letter f of both upper and lower case,  another feature i'd like is the ability to mouse over an identifier and get it's information (which seems to somewhat work during debugging) for instance, i mouse over a function and see it's declaration.  I hope this is more informative.
0 Kudos
Message 3 of 7
(4,236 Views)
Okay, that makes sense. In CVI those features exist, but you have to press a key first. For example, if you press Ctrl+Shift+Space over a function name, you should see its declaration. The only time the declaration pops up automatically is when you type the open parenthesis after the function name.
For auto-completing identifier names, you have to press Ctrl+Space. It works for functions, variables and macros, but it doesn't work for keywords, like "while", "for", etc...

The main restriction with CVI is that for your own identifiers (as opposed to those in the CVI libraries) you will have to compile your project first. I realize that this is not a trivial limitiation, and it is something that we hope to address in the not too distant future.

Thanks again,

Luis
0 Kudos
Message 4 of 7
(4,211 Views)
Thank you for the information, I wasn't aware of those hotkeys,  I ask that in future versions a method of having the information auto-display be added, but i'm not too rushed on this, so take your time, maybe CVI 9.0 will have code folding and those other features.
0 Kudos
Message 5 of 7
(4,180 Views)
Another thing that would be nice to have: identifier navigation ('Go to Definition', 'Go Back') when the current target is NOT debug !
0 Kudos
Message 6 of 7
(4,179 Views)
It already has go to identifier outside of debug, tho another nice feature would be pre-parsing and color coding defined types (typedefs and #defines as well as structs enums and unions.)
0 Kudos
Message 7 of 7
(4,130 Views)