Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Lazy Developer ToolNew to Visual Studio Code? Get it now.
Lazy Developer Tool

Lazy Developer Tool

jasonlhy

|
234 installs
| (0) | Free
This tool helps lazy developer like me to manipulate texts
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Lazy Developer Tool

Objective

I am a developer so I need to manipulate various kinds of text in my daily life. What I learnt from my developer career, some processes can be more productive and less tedious with automation tools. For me, it would be more intitutive to manipulate texts just inside vscode rather than command line scripting via stdin and stdout becasue of vscode's powerful API and multiple cursor supports.

Scenario 1 - Cut some texts, Edit them, Paste them to the location

  1. Highlight multiple texts, cut them
  2. Run Command Remember Locations which remembers your active selection position on the documet
  3. Paste the texts you cut on the excel/files as a column
  4. Edit the texts, hightlight the texts, and copy
  5. Run Command Paste to Locations will paste each of your excel cell content / each line into the rembered location.

Scenario 2 - Paste texts to multiple cursor positions

  1. Place multiple cursors at multiple places in the document
  2. Run Command Remember Locations which remembers your active selection position on the documet
  3. Copy the texts in exel as a column or files as multiple rows
  4. Run Command Paste to Locations will paste each of the texts to the each cursor position.

PS: VSCode have a similar builtin function with Ctrl+V but the number of items you paste MUST be equal to the number of cursor. This extenions will only show the warning the those two are not equal.

Scenario 3 - Transform each line in selections

  1. Highlight text(s)
  2. Run Command Transform Text in Selections
  3. Enter the JavaScript to transform the text in each selection

Appendix

There are two ways to highlight multiple texts in vscode.

Multiple Cursor

  1. Highlight a place with mouse
  2. Press and hold alt and highlight another with mouse

Find match

  1. Ctrl+F or Command+F to search the wordings/patterns
  2. Run Command Select All Occurence of Find Match

Roadmap

  • Better error checking, validation, add gifs, history
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft