Hello,
By default once the request is done, a new tab is opened as a vertical split on the right.
Can these two behavior be changed, like:
Thanks and keep up the good work, this plugin is gold, a must for a webdev :smiley:
@AresAndy I think you can solve both your problems with settings. First is rest-client.previewColumn which will control which column to render the response, by default the value is beside, you can set it to current and it will render the response in current active panel group, without opening a new panel group. Second is the workbench.editor.openSideBySideDirection, when your first setting value is beside, the direction of it is controlled by this setting. By default, the direction is right, and you can set it to down. I think these two settings can meet your requirements. Thanks for your appreciation.
@Huachao Thanks!
Will the workbench.editor.openSideBySideDirection apply to all sort of editors or just to the response tab?
I can't find a way to set this config only to a language or to an extension.
@AresAndy it's a setting of VSCode itself, and it will apply to all sort of editors. I also can't find a way to set this setting to language only. It seems VSCode doesn't support workbench.editor.openSideBySideDirection for language-specific setting 馃槥 Maybe you can only set this setting to workspace setting so that not affect other editors.
Most helpful comment
@AresAndy I think you can solve both your problems with settings. First is
rest-client.previewColumnwhich will control which column to render the response, by default the value isbeside, you can set it tocurrentand it will render the response in current active panel group, without opening a new panel group. Second is theworkbench.editor.openSideBySideDirection, when your first setting value isbeside, the direction of it is controlled by this setting. By default, the direction isright, and you can set it todown. I think these two settings can meet your requirements. Thanks for your appreciation.