Skip to content

Make it possible to disable the underlining and clickability of URLs in the editor #27632

Closed

Description

  • VSCode Version: 1.12.2
  • OS Version: Windows 10

I'd like to be able to disable the clickability of URLs in the editor. This would mean they can't be followed via ctrl+click, nor would they be underlined or tokenized in a way that specifically identifies them as a URL.

Use case: I'm doing a lot of architectural design work and frequently write example URLs while figuring out the shape of data. The URLs are not resolvable, and are often invalid.

Example:

image

Activity

  1. added
    feature-request
    editor-contrib
    on May 31, 2017
  2. alexdima commented on May 31, 2017

    @alexdima
    Member

    PR welcome. A new option to disable link computing & rendering can be added and the LinkDetector in links.ts can in that case ... do nothing.

  3. added
    good first issue
    help wanted
    on May 31, 2017
  4. luxifer commented on Jun 2, 2017

    @luxifer
    Contributor

    I can have a look

  5. alexdima commented on Jun 13, 2017

    @alexdima
    Member

    There are already 3 ongoing PRs that add various things around links. One of them builds on top of another. This is a great problem to have, we love PRs, but please hold off any additional PRs on this issue ❤️ until we resolve the ones we already have

  6. alexdima commented on Jun 13, 2017

    @alexdima
    Member

    Thanks to PR #28160, there is now editor.links which can be set to false to prevent the link detection from running (which implies no more underlines and no more clickability of links)

  7. removed
    feature-request
    on Jun 27, 2017
  8. locked and limited conversation to collaborators on Nov 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    editor-contribgood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions