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] command to sort JSON document by property name #155312

Closed
aeschli opened this issue Jul 15, 2022 · 2 comments
Closed

[json] command to sort JSON document by property name #155312

aeschli opened this issue Jul 15, 2022 · 2 comments
Assignees
Labels
feature-request Request for new features or functionality json JSON support issues on-testplan
Milestone

Comments

@aeschli
Copy link
Contributor

aeschli commented Jul 15, 2022

Especially when working the the settings JSON file I'd love to have a way to sort the file by property name

@aeschli aeschli added this to the July 2022 milestone Jul 15, 2022
@aeschli aeschli added json JSON support issues feature-request Request for new features or functionality labels Jul 15, 2022
@aeschli aeschli changed the title [json] command to sort by property name [json] command to sort JSON document by property name Jul 15, 2022
@alexdima alexdima modified the milestones: July 2022, August 2022 Jul 27, 2022
@aiday-mar aiday-mar modified the milestones: August 2022, September 2022 Aug 22, 2022
@aiday-mar aiday-mar modified the milestones: September 2022, On Deck Sep 28, 2022
@rzhao271 rzhao271 assigned alexdima and aeschli and unassigned aiday-mar and alexdima Dec 8, 2022
@aeschli aeschli modified the milestones: On Deck, Backlog Dec 9, 2022
@tjx666
Copy link
Contributor

tjx666 commented Feb 13, 2023

I have something suggestion about this:

  1. this command should support sort selection fields, not only whole json/jsonc
  2. should keep the comments position with the property after sorted

@tjx666
Copy link
Contributor

tjx666 commented Feb 23, 2023

@aiday-mar any plan to support sort selected fileds?

You can see my seeting.json, it would be more useful to support only sort selected fields.

image

@aeschli aeschli closed this as completed Feb 24, 2023
@aeschli aeschli modified the milestones: Backlog, February 2023 Feb 24, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Apr 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality json JSON support issues on-testplan
Projects
None yet
Development

No branches or pull requests

5 participants