Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting rid of underline (link)

How do I get rid of this underline? When I hover over it, it thinks it's a link and that I can cmd + click it to open it in browser. However, it's obstructing the view of actual underlines.

I'm specifically using Go's templating engine and vscode's basic HTML syntax because it's not supported.

enter image description here

like image 914
user1164937 Avatar asked Dec 01 '16 19:12

user1164937


2 Answers

I think I found a solution for your problem. Add this code to your User Settings;

"editor.links": false
like image 155
Deukalion Avatar answered Nov 15 '22 10:11

Deukalion


If you want to keep links clickable and just get rid of the underlines, I found a way:

open resources\app\out\vs\workbench\workbench.desktop.main.css

search for .monaco-editor .detected-link, and delete it.

Reopen VSCode, it will show some warning. Allow it and it's done.

After every update, you'll need to edit this file again.

like image 29
Betty Avatar answered Nov 15 '22 09:11

Betty