An Idea Exchange for SAS software and services

by Community Manager
on ‎12-02-2015 07:59 AM

For macros that you use a lot, you can add them as abbreviations in the Program Editor.  Then the autocomplete feature can help you no matter what the scope (in a different project or program).


That's a bit of extra setup for you, and isn't the same as your idea (which I endorse!).

by PROC Star
on ‎12-02-2015 09:57 AM

I like this idea, but one concern would be could it slow down autocomplete too much.  So maybe it should be a sub-option on the "autocomplete these words" dialog box, whether to scan only the open program or the full project.  I have had times when I had to turn off autocomplete (or some aspect of it), because it was getting tripped up by valid code and/or slowed too much to be useful.


That said, a similar feature request would be for autocomplete to be able to autocomplete invocations of autocall macros.  This would be even more scanning (perhaps just one scan per session of the autocall libraries, or one scan whenever autocall path is changed, or something like that).  But for places with a large library of autocall macros, autocomplete of macro calls could be useful, particularly for new team members.  Again, given the potential overhead costs, probably better as an autocomplete option.

by Super Contributor
on ‎12-02-2015 02:30 PM

@ChrisHemedinger That seems like an interesting option.  I'll give it a try - not sure it exactly does what I want but it might be close enough for now.  


@Quentin I don't imagine performance should be too big of a problem for _most_ cases, but I definitely would prefer to have an option to turn it off in case people really do have huge projects with thousands of programs or somesuch.  I would imagine Enterprise Guide would build a table of autocomplete possibilities when the .EGP is loaded, so it shouldn't be scanning programs or anything like that - but then again I don't know what the internal working of the current autocomplete is.  It may well be using some built in .NET stuff that works well for single programs but less well across multiples.

Idea Statuses
Top Liked Authors