Hiding objects from auto-completion
When I crate a new Max object and I start writing the object name, Max offers auto-completion of the objects name (if enabled). Is there a way to supress auto-completion for certain maxpat names in my search path? We deliver quite a bunch of externals and maxpats to customers but we want only certain maxpats to be shown via auto-complete directly. The others should be hidden because these are just abstractions used internally of other maxpats.
this is not what you asked, and it is probably too late, but a naming such as "we.sub.abstraction" will also do the job.no, it does not. :/
Yes. Currently we also use a prefix which inludes an underscore for the objects we want to hide and a prefix with a hyphen for objects we want to show. But this is not an officially documented feature and we are afraid that Max could change this in the future. Before renaming all our objects to strictlty follow this rule we wanted to make sure that there's currently no other proper way to do that (e.g. by tagging etc.).
I got the following answer from Cycling'74 Support:
"This can be done if you are shipping externals/abstractions in a package.
In the interfaces/ folder, you can create entries in a max.db.json file. In this .json file, create a key "exclusions" which maps to an array. In the array, you can list the names to leave out of search results and autocomplete."