Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Document Editing

This example shows you how to create a command that makes changes to a document (of the active text editor).

It has the command "Reverse Selected Text", which reverses the selected text.

demo

VS Code API References

Below are references to parts of the API used in the code.

vscode module

Contribution Points

Running the Extension

  • Run npm install on the command-line to install the dev dependencies.
  • Press F5 to run the "Launch Extension" Debug Configuration. This will run the extension in a new VS Code window.
  • Select the command "Reverse Selected Text" from the Command Palette (Ctrl+Shift+p).