vscode-restclient icon indicating copy to clipboard operation
vscode-restclient copied to clipboard

display request name as response tab title

Open Mr1X opened this issue 4 years ago • 3 comments

  • REST Client Version: v0.24.4
  • VSCode Version:1.53.0
  • OS Version:mac os 11.0.1

Steps to Reproduce:

my setting.json

  • "rest-client.requestNameAsResponseTabTitle": true,

I set it up, but it doesn't work,Response Tab Title still display Response

https://github.com/Huachao/vscode-restclient/pull/400

Mr1X avatar Jan 18 '21 14:01 Mr1X

@Mr1X did you create a name for the request, which means making a request as a named request?

Huachao avatar Jan 21 '21 11:01 Huachao

I can confirm that creating this response in a file does not set the tab title:

###
# @name testing
GET http://example.com/Api/GetFileSet
Authorization: Bearer example.of.jwt.token

This is how it looks: image

gbmal-vestas avatar Oct 17 '23 15:10 gbmal-vestas

I was having issues with this too, and in my case it was due to also using the conflicting setting "rest-client.previewResponseInUntitledDocument": true,

1two3code avatar Oct 25 '23 08:10 1two3code