09-24-2015 12:05 PM
To replicate this issue:
1) Open EG 7.x and create a new project and then create a new Program node.
2) Ensure Enable Autocomplete option is checked in the Editor Options menu of Tools > Options > SAS programs dialog.
data work.test; set sashelp.class
After typing exactly the code above, open a parenthesis "(" and type the name of any data statement option you like (WHERE, KEEP, DROP, RENAME etc.). While you are typing, the autocomplete suggestion box should pop up. Ignore it and keep typing until you have it completely typed.
4) After typing it completely, type an equal sign (=). This will type the equal sign in the editor but will ALSO submit the autocomplete option, hence you end up with two equal signs, as shown in the code:
data test; set sashelp.class (keep = =
This issue does NOT happen neither in 5.x nor in 6.x.
This has been tested both on 7.1 ( I don't have the full version number) and in my current version, 7.11 HF2 (184.108.40.20685) (32-bit).
09-25-2015 10:26 AM
Thanks for all the specific details in your message. I haven't been able to reproduce the error you're seeing, but I'll make sure the appropriate people in R&D see this so we can investigate it more thoroughly. We'll post back here with whatever we find out.
09-25-2015 03:25 PM - edited 09-25-2015 03:26 PM
Thanks for reporting this issue. I can reproduce it when I check the Autocomplete option "Add spaces when committing value-type options (i.e. options ending with "=")".
This appears to be a regression starting in EG 7.x. We will address it in the next EG 7.x hot fix and future release.
In the mean time, the workaround is to commit using either the "SPACE" key or the "ENTER" key.
SAS Enterprise Guide Team