You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'd like it is not to be formated in the PROC FORMAT or PROC SQL, or other special situations. For example, if I format the code below
proc format;
valuerange40000-high='High'26000-< 40000='Medium'
other ='Low';
invalue evaluation
'O'=4'S'=3'E'=2'C'=1'N'=0;
run;
For PROC SQL, it is similar. Usually I'll make a separate sql script file to format code and then paste it back, however, sas extension's format will make it flat again.
Describe the solution you'd like
I'd like to suggest add some thing like REGION. For example,
proc format;
/* sas-format-disable */valuerange40000-high='High'26000-< 40000='Medium'
other ='Low';
invalue evaluation
'O'=4'S'=3'E'=2'C'=1'N'=0;
/* sas-format-enable */run;
proc sql;
* sas-format-disable;select
momage,
(weight *0.01) as newweight
from
outdata
where
calculated newweight >5;
* sas-format-enable ;
run;
Environment
SAS version 9.4
The text was updated successfully, but these errors were encountered:
If that a protocol exist, we can write a standalone VSCode extension purely for formatting, just like the black, flake8 or autopep8 did.
snlwih
changed the title
Region not to be formated
[Code formatting] Support option to exclude sections of code when using Format Document
Nov 29, 2024
snlwih
changed the title
[Code formatting] Support option to exclude sections of code when using Format Document
[Format Document] Support option to exclude sections of code when using Format Document
Nov 29, 2024
snlwih
changed the title
[Format Document] Support option to exclude sections of code when using Format Document
[Code formatting] Support option to exclude sections of code when using Format Document
Nov 29, 2024
Is your feature request related to a problem? Please describe.
I'd like it is not to be formated in the PROC FORMAT or PROC SQL, or other special situations. For example, if I format the code below
It becomes
I'd like to keep the format of the first one.
For PROC SQL, it is similar. Usually I'll make a separate sql script file to format code and then paste it back, however, sas extension's format will make it
flat
again.Describe the solution you'd like
I'd like to suggest add some thing like REGION. For example,
Environment
SAS version 9.4
The text was updated successfully, but these errors were encountered: