Is there an easy way in GAUSS to format my code? For example, I would like to change this:
for i(1, nobs, 1);
x = varinit[.,i];
if x < 0;
continue;
endif;
endfor;
to:
for i(1, nobs, 1);
x = varinit[.,i];
if x < 0;
continue;
endif;
endfor;
1 Answer
0
You can auto-indent GAUSS code by either right-clicking and selecting 'Format text', or by using the CTRL+i hotkey.
If you select some text, then only the highlighted lines will be indented. If nothing is highlighted, GAUSS will indent the entire file for you.
Your Answer
1 Answer
0
You can auto-indent GAUSS code by either right-clicking and selecting 'Format text', or by using the CTRL+i hotkey.
If you select some text, then only the highlighted lines will be indented. If nothing is highlighted, GAUSS will indent the entire file for you.