Having code completion in EG and SAS Studio is helpful, but I often find myself typing file paths, as well. Being able to tab-complete much like you can in Bash would be very helpful.
Setup a project macro which contains the path of the project, then that will simplify your paths. This is one (and only one really) are where macro shines, as it makes it very simple to change paths, and thus make the project portable. E.g.
%let root=//somewhere/here;
Put that in your start/autoexec/project or whatever file, then use:
filename test "&root./afolder/myoutput.txt";
In this way you only have to relate to the project structure, not where the project is residing. This is probably a best practice on all programming tasks/platforms, as then to move the project, you only have to change that one assignment to the new path.
That's generally how I set up most projects...I still think it would be convenient to have this feature as it is included on most every IDE and CLI you can think of.
Not sure it would be workable (or that useful) in the CODE editor. But in the SAS/Studio File Explorer tab it would be useful and probably easier to implement.
Note that once you find a path in the File Explorer tab you can select properties on it and find the full path and copy and paste that into your editor window.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.