mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
This bumps the `@types/vscode` and `engines: vscode` on packages that were using very old versions. These old versions used a `vscode.d.ts` that didn't include proper link support. We've also made a number of fixes and improvements to `vscode.d.ts` that are useful to extension authors
Code Action Provider Sample
This sample shows how to provide code actions in the editor. Code actions are used to implement quick fixes and refactoring in VS Code.
The sample uses the CodeActionProvider api to implement a simple set of code actions that convert :) to a smiley emoji in markdown files:
Second example of code action provider shows how to associate code actions with diagnostic (e.g. compilation) problems.

