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

Add HTTP calls to outline view

Open col-panic opened this issue 7 months ago • 2 comments

I have multiple calls, each marked with @title - the outline view, however, does only show the markdown entries:

Image

Could you add the single calls, such that they are also part of the outline, and I can jump to them?

Thank you very much

col-panic avatar May 21 '25 06:05 col-panic

Is this the outline view of a markdown file? Can you please provide an example. thank you.

AnWeber avatar May 21 '25 09:05 AnWeber

Here an example

Image

/*
# User API v1
see http://localhost:8080/q/swagger-ui/
*/
@host={{endpoint_api_v1}}
###
# @title Get User information as contained in the token
GET /user
Authorization: openid {{medical_user_flow}} medical_user
?? status == 200
/*
## Some markdown
*/
###
# @title Get User information via quarkus undertow
GET {{endpoint_fhir_r4}}/$printContextInformation
Authorization: openid {{medical_user_flow}} medical_user
?? status == 200

It would be great if the outline would show GET Get User information via quarkus undertow or something like this, and jump to the GET request.

col-panic avatar May 21 '25 10:05 col-panic