LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Feature request for release 7.1

Is it possible to include an indent functionnality in the CVI built-in editor ?

Thanks

Pierre
0 Kudos
Message 1 of 3
(2,982 Views)
Are you referring to auto-indentation, where based on the context of the code CVI picks the start of the next line at different columns, or are you just asking for a way to shift a block of text to the right or the left? If it's the latter, you can already do that by selecting the text and hitting or . If you're asking for the former, it's something that's been requested before but we still haven't done it. It's too late to add it to 7.1, but I'll make sure we get around to it soon.

Luis
NI
0 Kudos
Message 2 of 3
(2,982 Views)
"Are you referring to auto-indentation, where based on the context of the code CVI picks the start of the next line at different columns, or are you just asking for a way to shift a block of text to the right or the left?"

Yes, it is. Based based on the last line indent, or on the previous brace/keyword level if the first non comment word of the line is a brace/keyword.

"If it's the latter, you can already do that by selecting the text and hitting or "

I do so, but when there are many lines it is a little boring, and risky when braces opens and closes over several screens.

"but I'll make sure we get around to it soon"

Great.

Thanks

Pierre.
0 Kudos
Message 3 of 3
(2,982 Views)