Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.33 KB

how-to-display-urls-as-links-in-the-editor.md

File metadata and controls

42 lines (29 loc) · 1.33 KB
title description ms.date ms.topic helpviewer_keywords ms.custom author ms.author manager ms.subservice
Display URLs as Links in the Editor
Display URLs in your code as active links in the Visual Studio Code Editor and enable link underlining, tooltips, and keyboard quick access functions.
11/18/2024
how-to
URLs, opening
Code Editor, displaying URLs
editors, displaying URLs
ide-ref
anandmeg
meghaanand
mijacobs
general-ide

Display URLs as Links in the Editor

You can choose to have the Code Editor treat Uniform Resource Locators (URLs) in your code as active links. When you use this feature, URLs:

  • Appear underlined.

  • Display a ToolTip when you hover over them.

  • Attempt to open the website indicated when you Ctrl+click on the link. By default, the website is displayed in the internal web browser.

Display URLs as links

  1. On the Tools menu, click Options.

  2. Click Text Editor.

  3. To change the option for only one language, expand the folder for that language and choose General.

    —or—

    To change the option for all languages, expand the All Languages folder and choose General.

  4. Under Settings, select Enable single-click URL navigation.

Related content