Installing an Alpha/Beta Preview Release
There are often preview releases of Dart Code available for testing ahead of general release to the VS Code extension marketplace. To install one follow the instructions below.
Note: VS Code will still automatically update locally-installed extensions so once the marketplace contains a version that is newer than the one you installed, it may upgrade you. This is normally the desired behaviour (you’ll be moved back to the stable version of what you werepreviewing once it is released) but it’s worth noting in case you explicitly install an older version and find VS Code reverted you to the (newer) stable version.
If you’d like to see a simpler way to opt-in to beta releases, please put a 👍 on this VS Code Feature Request.
- Download the beta VSIX file from the GitHub releases page for the version you wish to test (for example Dart Code v2.22.0-alpha.2)
- Open VS Code
- Run the Extensions: Install from VSIX command from the VS Code
- Browse to the VSIX file you downloaded
- Wait for the extension to install
- Click the Reload button on the VS Code notification that appears
Note: If you receive a message about the Flutter extension depending on the Dart extension, you may need to first uninstall the Flutter extension and then perform the steps above, then re-install the Flutter extension from the VS Code marketplace.