HISE Logo Forum
    • Categories
    • Register
    • Login

    [Request] Add global object properties to autocomplete project-wide

    Scheduled Pinned Locked Moved Feature Requests
    3 Posts 2 Posters 181 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aaronventure
      last edited by

      global accessMeFromAnywhere = {};
      accessMeFromAnywhere.prop1 = 666;
      

      In some other script processor, typing accessMeFromAnywhere should pop up all the properties it has, like it does for objects declared as var, or namespaces.

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @aaronventure
        last edited by

        @aaronventure it already works here:

        891e37cc-1bfd-45fb-b5f9-259a38af7527-image.png

        A 1 Reply Last reply Reply Quote 0
        • A
          aaronventure @Christoph Hart
          last edited by aaronventure

          @Christoph-Hart Alright, my bad. Object properties don't show up in autocomplete anyway, global or no. I somehow thought they did...

          To clarify what I mean, e.g. if you now wrote in any script

          funky.funk = 1;
          

          then typing "funky." wouldn't drop down the option to select funky.funk in autocomplete, like it does for namespaces and everything declared within the namespace.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          34

          Online

          1.8k

          Users

          12.0k

          Topics

          104.7k

          Posts