microsoft / vscode-dapr

A Visual Studio Code extension for Dapr development
Other
58 stars 18 forks source link

Adds ability to browse to Dapr application entrypoint. #287

Closed philliphoff closed 1 year ago

philliphoff commented 1 year ago

For applications that expose a port, we add an inline context command to open a browser directly to that entrypoint, saving the developer the step of typing out the path in a browser.

Note: there's no guarantee that the base endpoint is served by the application but, currently, there's no place for developers to indicate an appropriate subpath. (That will hopefully be added to the Dapr runtime in due course.)

Note: the extension also assume the application exposes an HTTP port. (It might expose a gRPC port instead but, again, the Dapr runtime doesn't provide a way to distinguish between them.)

Screenshot 2023-02-16 at 11 25 42

Resolves #275