Is it possible to undo this default behavior for the variables section, so it is always visible?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to Fold up Code in Editor
Collapse
X
-
How to Fold up Code in Editor
How can I fold a section of code so that it is out of view unless I press the plus button in the line number area, similar to the way that variables and properties is by default?
Is it possible to undo this default behavior for the variables section, so it is always visible?Tags: None
-
You can set up a region of your own
#region MyRegion
//Code here
#endregion
Then you can fold or unfold it like the Variables or Properties regions
If you don't want the editor to fold Variables region you can comment out the beginning and ending tags. The NT editor does fold all regions though automatically, and I've never found away to prevent it. However I use Visual Studio for all my coding anyway.
VT
-
Is a strategy. By the way, there is some metod, to "separate code", that is tested in a kind of "subprogram", to be more efficient. Is difficult to manage a program with more than 2000 lines¡¡¡
Sure than the advanced programmers, have some way to solve this matter.
Thanks again
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
26 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
182 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
335 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
260 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|

Comment