Go to MDN
The extension is a complement for feature added in version 1.38 (August 2019 release) - MDN Reference for HTML and CSS. It allows user to browse MDN web docs directly from Visual Studio Code using command palette.
The data comes from MDN Github repository. Big thanks for MDN and all contributors for great job.
Due to big amount of data, to avoid delay in downloading everything at once, the requested data are lazy loaded. It means that they are downloaded once the user asks for them and cached after that. Second call for the same data will be fed from cache, not from github api. This approach allows to keep the extension responsive.
The data provided in extension are limited to the ones with valid url in MDN github repository mentioned at the beginning. Once confirming the interested item, the default browser will be opened with direct url according your request.
If you do not find what you are looking for, you could just type the term you are looking, press Enter and you MDN web docs website will be opened with search results for your query.
Github API has limits for requests number. For unauthenticated users it is 60 requests per hour. For authenticated it equals to 5000 requests per hour. Most of users should not need more than 60, but in case anyone would like to browse a lot, he/she should provide a personal access token (in settings) generated in his/her github account to increase the available requests number.
The source code is available on GitHub here.
Refactoring and improvements