Skip to content
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/record formatting do not work in all places #15373

Closed
riyafa opened this issue May 22, 2019 · 2 comments
Closed

JSON/record formatting do not work in all places #15373

riyafa opened this issue May 22, 2019 · 2 comments
Assignees
Labels

Comments

@riyafa
Copy link
Contributor

riyafa commented May 22, 2019

Description:
The following do not format properly in VSCode:
artemis:Producer prod = new({host:"localhost", port:61616}, "example");

Expected is as follows:
artemis:Producer prod = new({host: "localhost", port: 61616}, "example");

The JSON formatting seems to work only if it is an assignment as follows:
json val = {host: "localhost", port: 61616};

Steps to reproduce:
Try formatting a JSON/record expression when it is not in an assignment statement.

Affected Versions:
0.991.0

OS, DB, other environment details and versions:
Ubuntu 19.04

Related Issues (optional):
N/A

@NipunaMarcus
Copy link
Contributor

This issue is a known issue #13794 and we are working on fixing this.

@NipunaMarcus
Copy link
Contributor

The issue is fixed with #16003
Hence closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants