AnWeber / vscode-httpyac

Quickly and easily send REST, Soap, GraphQL, GRPC, MQTT and WebSocket requests directly within Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=anweber.vscode-httpyac
MIT License
222 stars 20 forks source link

Feat: Keep response tab last position #216

Closed andremacola closed 10 months ago

andremacola commented 10 months ago

It would be interesting to persist the position of the answer tab in the last location

When we use the client as in the image example, the position of the tab is always reset when a request is made

PS: I know about workbench.editor.openSideBySideDirection but it's not ideal as it changes the whole behavior of the editor

210875566-9f8e93dd-f10d-45f9-9d70-5b296f6a3ce0

AnWeber commented 10 months ago

@andremacola You got the wrong extension. Your screenshots use vscode.rest-client. But I wish you good luck that the bug will be fixed there. I think my extension already does it correctly. view

andremacola commented 10 months ago

@AnWeber Thks for response. Yep, the screenshot is from rest-client but the behavior is equal on httpyac.

Try to put the http tab at the same side of the json results tab. Like this:

https://github.com/AnWeber/vscode-httpyac/assets/3408809/14743c8a-10e8-47ce-8fa7-60dbe2b3b36e

AnWeber commented 10 months ago

Now it should work better. Now the editor always opens in the same place as the previous preview, as desired. However, it is unfortunately possible due to the lack of interface that I restore the arrangement after closing the document. works

andremacola commented 10 months ago

That's nice. Works flawlessly