intellij-json-sorter-plugin's People
intellij-json-sorter-plugin's Issues
Execute on selected node only.
Sometimes you have the parent nodes of a json object sorted in a specific order.
My specific example is order the eslint rules: I want extends, globals, env and parserOptions to always stay at the top, and overrides at the bottom. But I want the rules to be sorted alphabetically.
Not showing up in the context menu
I can't find the json sorter options in the context menu. Not sure what I need to do to get them to show up
How to install in IntelliJ?
This plugin can't be found in official JetBrains plugins list or Browse repositories
Execute on multiple files
Would be nice to be able to sort multiple files, for ex. all files of a directory. https://plugins.jetbrains.com/plugin/11104-json-sorter/reviews#review=34833
Plugin does not sort correct
Good day!
I have json like this one.
[ { "_id": "AD", ... },
{ "_id": "AT", ... },
{ "_id": "IT", ...},
{ "_id": "BE", ... }, ... ]
And after sorting, nothing is happened.
The "_id=IT" is still above of "_id=BE".
I have tried all sorting modes.
Thanks in advance.
test json for parser error
{
"a": [],
"b": {
"\" breaking test": "\" hard test",
"\" and you failed": "sorry"
}
}
inside "" escaping " breaks parser
ActionUpdateThread.OLD_EDT is deprecated and going to be removed soon.
com.intellij.diagnostic.PluginException: ActionUpdateThread.OLD_EDT
is deprecated and going to be removed soon. 'com.ivanovych666.intellij.plugin.jsonsorter.JSONSorterGroup' must override getActionUpdateThread
and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: com.ivanovych666.intellij.plugin.jsonsorter]
at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:23)
at com.intellij.diagnostic.PluginException.createByClass(PluginException.java:90)
at com.intellij.diagnostic.PluginException.reportDeprecatedUsage(PluginException.java:125)
at com.intellij.openapi.actionSystem.ActionUpdateThreadAware.getActionUpdateThread(ActionUpdateThreadAware.java:21)
at com.intellij.openapi.actionSystem.AnAction.getActionUpdateThread(AnAction.java:199)
Undo doesn't work after a file is sorted
Would be nice on *.arb files
*.arb are json (use in Flutter for intl translation), maybe it's just an extension to add somewhere.
Arb file:
https://github.com/google/app-resource-bundle/wiki/ApplicationResourceBundleSpecification
Flutter intl:
https://flutter.dev/docs/development/accessibility-and-localization/internationalization#appendix-using-the-dart-intl-tools
Intellij intl plugin example
https://plugins.jetbrains.com/plugin/13666-flutter-intl
Problem with sort order
I think there may be a small problem with sorting:
When I sort alphabetically (or actually any of the forward sort options), I get the following result:
{
"Add aaaa": "1",
"Add bbbb": "2",
"Add zzzz": "3",
"Add": "4"
}
I believe, at least for proper alphabetical sorting, "Add"
should be at the top of all strings starting with "Add".
This problem seems to appear in all offered sort options.
https://en.wikipedia.org/wiki/Alphabetical_order
"If a position is reached where one string has no more letters to compare while the other does, then the first (shorter) string is deemed to come first in alphabetical order."
Define list of file extensions to display plugin context menu item
Currently "JSON Sorter" context menu item appears only in files with extension ".json".
Sometimes JSONS are stored in files with other extension.
It would be great if there were a way to define custom list of file extensions.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.