Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>copy-no-tabNew to Visual Studio Code? Get it now.
copy-no-tab

copy-no-tab

amitsaha

|
99 installs
| (0) | Free
Copy without tabs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copy selected code converting tabs to spaces

Extension name: amitsaha.copy-no-tab.

This Visual Studio Code extension allows you to copy selected text to your clipboard, replacing the tabs by spaces. It obtains the size of a tab from your editor's configuration.

To use, select text and right click, you will see "Copy No Tabs!" along with the other Cut, Copy and Paste options.

Screenshot

Credits

  • https://medium.com/@rmmmsy/your-first-visual-studio-code-extension-ce8e040ba8ca
  • https://github.com/dinhani/vscode-copy-on-select/blob/master/src/extension.ts
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft