Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>periodsplitNew to Visual Studio Code? Get it now.
periodsplit

periodsplit

Nahom Berhe

|
32 installs
| (0) | Free
Full sentences take a line
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Document Editing Sample

This is an example that shows you how to create a command which makes changes to the document in the active editor.

Demo

demo

VS Code API

vscode module

  • commands.registerCommand
  • window.activeTextEditor
  • TextDocument.getText
  • TextEditor.edit
  • TextEditorEdit

Contribution Points

  • contributes.commands

Running the Sample

  • Run npm install in terminal to install dependencies
  • Run the Run Extension target in the Debug View. This will:
    • Start a task npm: watch to compile the code
    • Run the extension in a new VS Code window
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft