Giter Site home page Giter Site logo

Comments (9)

Huachao avatar Huachao commented on May 5, 2024 2

@internetz This is related to VS Code limitations, microsoft/vscode#8794 and microsoft/vscode#12215. And I will follow up the issue in vscode, and will try to implement it in VS Code when I have time. Thanks

from vscode-restclient.

Huachao avatar Huachao commented on May 5, 2024 1

@internetz @shahidmau I have added a new way to display result in an untitled document, and it seems can solve your problem, and I will publish this version ASAP

from vscode-restclient.

Huachao avatar Huachao commented on May 5, 2024 1

@internetz @shahidmau since version 0.13.0, you can preview the response in the editor directly(previously only allow in webview, which vscode has some limitation), you can experience this feature by set the setting rest-client.previewResponseInUntitledDocument to true.

So I'd like to close the issue now, and supporting find in the webview is still depending on vscode. Please feel free to reopen it if you still have any concern.

from vscode-restclient.

shahidmau avatar shahidmau commented on May 5, 2024

It is required option. You can see "ES Query" plugin, they are providing search option in result window.

from vscode-restclient.

Huachao avatar Huachao commented on May 5, 2024

@shahidmau since I am using html to preview the result, while they use text document to display the result. And vscode has limitation in searching result in preview page. And in #72 , I am considering to add a new command to display the response in text document, so that you can search. And currently, you have to save the response, and search what you need

from vscode-restclient.

shahidmau avatar shahidmau commented on May 5, 2024

ok, so what you can do is to provide an option to show output in either plain format or html format.
You can give toggle/switch button some where in output response (or in settings).
Plain text must support search option. ES Query is also showing plain text but it looks good.
It is required because sometime we have output response of thousands of lines and we can not scroll manually to find our desired text and html format becomes very slow.

from vscode-restclient.

Huachao avatar Huachao commented on May 5, 2024

@internetz @shahidmau in latest vscode 1.15.0, you can already search in preview page with keyboard shortcut Ctrl+F. With this feature, you can set rest-client.previewResponseInUntitledDocument to false again.

from vscode-restclient.

ggayan avatar ggayan commented on May 5, 2024

@Huachao It looks like searching in the preview webview is not working anymore. I am willing to check how can this be patched, but I am not sure where to look. Do you have any pointers?

from vscode-restclient.

Huachao avatar Huachao commented on May 5, 2024

@ggayan do you mean you can't get the highlighted results after you provide the searching words , can you please provide a screenshot

from vscode-restclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.