Closed Chi-teck closed 5 years ago
Yes, this make sense. Another point that this values is not only possible values. For example contrib & custom modules can provide new service tags.
Maybe we can provide some example values (like most popular) ?
Maybe we can provide some example values (like most popular)?
We can, however PhpStorm does not make use of examples
keyword for autocomplete suggestions.
And again, for service tags autocompletion works fine without JSON schema.
Turns out PhpStorm already provides autocomplete suggestions for service tags likely with the help of Symfony plugin. Maintaining enumerations for other properties has a little use as they are not widely used. Also the way they are currently implemented is rather tricky. See https://github.com/json-schema-org/json-schema-spec/issues/751 for details.