Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-186

Please add regex or wildcard support into the customs.json file

    XMLWordPrintableJSON

Details

    Description

      If you have a custom tag like:

      <test /> I can add this element to the customs.json file and I see no error this is fine.

      When I have <test my-attr="2" /> I can add my-attr to the custom.json file too and everything is fine.

      Often you have a lot of custom tags and attr and sometimes to identify your custom things, you have a prefix my myattr-color myattr-size myattr-whatever. So it would be nice to support wildcards or regex for elements and attributes inside the customs.json file that I can write:

      "attributes": {
         "myattr-*: {} // or
         "myattr-.*?": {}
      }
      
      "elements": {
         "ion-.*?": {} // All ionic tags have this prefix
      }
      

      Regards

      Chris

      Attachments

        Activity

          People

            Unassigned Unassigned
            chrizzly Christian Lenz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: