Hiding objects from auto-completion


    Nov 19 2021 | 9:14 am
    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.

    • Nov 19 2021 | 9:21 am
      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. :/
    • Nov 19 2021 | 9:30 am
      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.).
    • Nov 24 2021 | 7:40 am
      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."