Go to MDNThe 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. FeaturesThe 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. You have two ways to browse the results:
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. Commands
Extension Settings
Allows to increase number of requests to API from 60 (unauthenticated) to 5000 (authenticated) per hour. 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.
Flag to determine if the results should be displayed as flat list or as tree with navigation.
Default value is Source CodeThe source code is available on GitHub here. Release NotesPlease check changelog for release details. AuthorAcknowledgmentIf you found it useful somehow, I would be grateful if you could leave a "Rating & Review" in Marketplace or/and leave a star in the project's GitHub repository. Thank you. |