Skip to content

Include MDN links in property IntelliSense #150

Closed
@connorshea

Description

@connorshea

I'm sure I've mentioned this before or discussed it in another issue, but I couldn't find anything specifically about it in the existing issues.

I'd like to be able to hover over, e.g. background-color and - besides the description that's already there - have a clickable link to the MDN documentation for the property.

What it looks like right now:

Screen Shot 2019-04-02 at 12 17 09 PM

The browser-compat-data package includes mdn_urls for most (all?) CSS properties, so it should be possible to derive the documentation links from that package, like is already done for browser support.

https://github.com/mdn/browser-compat-data/blob/3268af01c1bf6059f3d7a25c1c212ac4522c291f/css/properties/background-color.json#L6

There's a similar issue for the HTML service: microsoft/vscode-html-languageservice#12

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions