mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
Fix typos in code-actions-sample
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
# Code Action Provider Sample
|
||||
|
||||
This sample shows how to provide code actions in the the editor. Code actions are used to implement quick fixes and [refactoring](https://code.visualstudio.com/docs/editor/refactoring) in VS Code
|
||||
This sample shows how to provide code actions in the editor. Code actions are used to implement quick fixes and [refactoring](https://code.visualstudio.com/docs/editor/refactoring) in VS Code.
|
||||
|
||||
The sample uses the [`CodeActionProvider`](https://code.visualstudio.com/api/references/vscode-api#CodeActionProvider) api to implement a simple set of code actions that convert `:)` to a smiley emoji in markdown files:
|
||||
|
||||
|
||||
@ -30,7 +30,7 @@ export function activate(context: vscode.ExtensionContext) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Provides code actions for converting :) to an smiley emoji.
|
||||
* Provides code actions for converting :) to a smiley emoji.
|
||||
*/
|
||||
export class Emojizer implements vscode.CodeActionProvider {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user