-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Json top level array formatting error #810
Comments
Could you share an example a json file that reproduces this bug? Also, could you share which Azure Resources command that you are using that produces this bug? |
Any file that's formatted like this. I didn't use the extension personally & have now uninstalled it. I wasn't even using Azure at the time, however while this extension was enabled VS code gave me the yellow underline across the whole file. & The problems tab pointed out that the Jason file expected an object. I ended up uninstalling the extension as I was not using it either way.
|
Was the error coming from out extension? And if so, do you know which extension it was? If you could take a screenshot of the error and the error message that would help a lot. |
The error starts when I enable the Azure Functions extension. The extension ID is (ms-azuretools.vscode-azurefunctions). The error is
Here you have a screenshot: |
Type: Bug
When a json file starts with an array using
[
, it gives a formatting error that it is expecting an objectExtension version: 0.8.3
VS Code version: Code 1.86.0 (05047486b6df5eb8d44b2ecd70ea3bdf775fd937, 2024-01-31T10:28:19.990Z)
OS version: Windows_NT x64 10.0.19045
Modes:
The text was updated successfully, but these errors were encountered: