forcedotcom / analyticsdx-vscode

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

Open template json files as custom language id #17

Closed smithgp closed 4 years ago

smithgp commented 4 years ago

What does this PR do?

Create a specialized langage id for adx template json files, and configure our custom language server with that, instead of piggybacking on the default json language server.

This does mean that the prettier vscode extension won't currently work against our adx-template-json files, since it keeps the vscode language ids in the base prettier code base, so I can't configure it here in our extension. We'll address that later; for now, this supports default vscode-based formatting for template json files, sharing the json formatting configuration properties.

What issues does this PR fix or reference?

Fixes #5