Skip to content

provide preference to open code lens URLs in simple browser #1207

Closed

Description

@martinlippert

Add a preference to choose where to open URLs from code lenses. At the moment, the browser from your operating system is launched externally to show the URL. The spring dashboard in VSCode opens the URLs of request mappings in a Simple Browser in VSCode directly.

We should add a preference to allow users to define where to open these URLs (from code lenses) and add the option to open them in a simple browser inside of VSCode.

Activity

  1. added this to the 4.22.1.RELEASE milestone on Mar 13, 2024
  2. BoykoAlex commented on Mar 21, 2024

    @BoykoAlex
    Contributor

    CodeLenses is the tip of the iceberg... I have implemented the setting for CodeLenses but there are other means of opening requst mappings URLs via symbols and hovers. Not sure how to deal with symbols at all yet... The hovers seem to support a link that executes a command but looks like this is in VSCode only... Seems more difficult than i was hoping for ;-)

  3. martinlippert commented on Mar 22, 2024

    @martinlippert
    MemberAuthor

    I don't think we need to align everything here. If we directly control the "open browser" activity, let's use the preference to allow users to choose between the external and the internal simple browser. If we do not control the action to open a browser, let's not invest a lot of time into working around that.

  4. BoykoAlex commented on Mar 22, 2024

    @BoykoAlex
    Contributor

    CodeLens support is in with 63a99ba.
    I'd like to look into links from hovers a bit more...

  5. BoykoAlex commented on Mar 22, 2024

    @BoykoAlex
    Contributor

    VSCode hovers are also supported via 1883ceb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

for: vscodetheme: live-datatype: enhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions