forcedotcom / analyticsdx-vscode

Salesforce Analytics Extensions for Visual Studio Code
BSD 3-Clause "New" or "Revised" License
11 stars 2 forks source link

Allows literal nulls in fields where runtime supports it #33

Closed smithgp closed 4 years ago

smithgp commented 4 years ago

Once you allow null in a json-schema on otherwise string types, VSCode stops doing the default text-based hippy completion for the fields; it also doesn't offer the type-specific empty value (e.g. "", [], {}) when null is allowed. So, this adds in those empty values, via either "examples" or "defaultSnippets" in the schema.