Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Add a search functionality #36

Closed
sniranjan opened this issue Feb 13, 2022 · 4 comments
Closed

Add a search functionality #36

sniranjan opened this issue Feb 13, 2022 · 4 comments

Comments

@sniranjan
Copy link

Really appreciate your effort, just downloaded the latest release and it looks amazing.

One request though, currently there is no way to search any record. I have huge JSON files, it would be nice to see them in a tree view and search by keys or values. You can refer to https://jsoneditoronline.org/. The code is also Apache licensed, https://github.com/josdejong/jsoneditor.

@ObuchiYuki
Copy link
Collaborator

@sniranjan Thank you for your issue!
That's interesting. DevToys for mac is running on Swift, so I can't use it as is, but I can use it as a reference. it would be interesting to have it as a function of JSON Formatter.

@RodrigoTomeES
Copy link
Contributor

@ObuchiYuki I have been searching for a while and I have seen that it is possible to run JS in Swift. I don't know if it's recommended, but this documentation is still useful for you.

https://medium.com/academy-eldoradocps/javascript-and-swift-66c59bf2317e
https://developer.apple.com/documentation/javascriptcore

@ObuchiYuki
Copy link
Collaborator

@sniranjan @RodrigoTomeES
Hello! I've added a search function to CodeTextView! You can now search in almost any CodeTextView!

画面収録 2022-02-25 18 18 28

@ObuchiYuki
Copy link
Collaborator

@sniranjan @RodrigoTomeES Added in v0.0.10!

https://github.com/ObuchiYuki/DevToysMac/releases/tag/0.0.10

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

No branches or pull requests

3 participants