BookmarkSubscribeRSS Feed

It would be great if users could edit shell scripts within Enterprise Guide, as they can be used to automatically kick off SAS programs. If I double-click one such file in my code folder, SAS opens an import text data window.

 

This would impact .sh, .ksh, and other files. Perhaps other community members can weigh in on extensions they might use? I could see people using .txt files for notes they want to store separate from code.

4 Comments
Kurt_Bremser
Super User

UNIX shell scripts do not depend on filename extensions, any text file with the execute bit set is a (potential) shell script.

So what's needed is the option to open any file in a text editor window.

paulkaefer
Lapis Lazuli | Level 10

Great point, Kurt. Syntax highlighting of bash script commands would be nice, too 🙂

paulkaefer
Lapis Lazuli | Level 10

I opened a track with SAS Tech Support, since other versions of EG will allow you to edit text files. Looks like this has been fixed in EG 7.13. Another note: the option you need to turn off is Tools > Options > Data > Data General >  un-check "Automatically import data when added to project".

Casey_SAS
SAS Employee
Status changed to: Suggestion Implemented

In Enterprise Guide 7.13 you can add files to be opened via Tools -> Options-> Results > Viewer >
File extensions to open as text by default"