MicrosoftEdge / DevTools

Feedback and discussions about Microsoft Edge Developer Tools
MIT License
151 stars 49 forks source link

[JSON Viewer] Find in page not working for long json objects #183

Closed kebeabap closed 9 months ago

kebeabap commented 9 months ago

Having a long json with a total of tens of thousands of lines rendered out, the built-in search of the Edge-browser won't find all search terms. My example json has (rendered) >60k lines A search term in line 33000 is not found, when I press ctrl+f in Edge. Using Version 116.0.1938.69 (Official Build) (64-Bit) / not using any other json rendering extensions.

Disabling json-viewer stops rendering of the request result, but therefore, find in page works again and reveals the search term.

captainbrosset commented 9 months ago

Thanks for your report. This is a known issue and we've got somebody working on it at the moment. Hoping to have a fix for it deployed soon! I'll close this as a duplicate of #87 as the issue was already reported there. Feel free to watch that issue for updates on this.

thiemo68 commented 3 months ago

I have to search long json files quite often. So I disabled edge-json-viewer. Since the last edge update it is not possible anymore (https://github.com/MicrosoftEdge/DevTools/issues/238). Frustrating...

captainbrosset commented 3 months ago

Sorry about this, disabling the JSON Viewer will soon be possible again.

That said, the JSON Viewer now has a better search which should work on long JSON objects. Click somewhere in the JSON, and then press Ctrl+F. You should see the new search tool:

image