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

Insert qoutes after colon #10

Closed
AgentRBY opened this issue Nov 23, 2022 · 2 comments · Fixed by #11
Closed

Insert qoutes after colon #10

AgentRBY opened this issue Nov 23, 2022 · 2 comments · Fixed by #11

Comments

@AgentRBY
Copy link
Contributor

User has JSON

{
  "someValue": 123,
}

He wants to enter a new value, but forgets about the quotes and simply writes:

{
  "someValue": 123,
  newValue:
}

I suggest after writing : in this case, put quotes automatically: newValue: -> "newValue":

@zardoy
Copy link
Owner

zardoy commented Nov 23, 2022

You can just call Code Actions menu (even assign keybinding to it):
image

Probably you can reuse it when user hits :

@AgentRBY
Copy link
Contributor Author

AgentRBY commented Nov 23, 2022

Probably you can reuse it when user hits :

I think this is what I will do
I'll look at it tomorrow

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

Successfully merging a pull request may close this issue.

2 participants