davidpcahill / auto-select-pasted-text

Enhance VSCode: Auto-select pasted text for faster editing & precise indentation. Ideal for web code samples & ChatGPT. Save time in coding sessions.
https://marketplace.visualstudio.com/items?itemName=davidcahill.auto-select-pasted-text&ssr=false#overview
MIT License
5 stars 0 forks source link
vscode-extension

Auto Select Pasted Text for VSCode

Boost your VSCode experience with Auto Select Pasted Text. This extension is perfect for developers frequently copying and pasting code snippets, especially from online sources or ChatGPT. Eliminate the manual re-selection hassle post-pasting. The extension ensures that every time you paste content, it's instantly selected, making the editing process more streamlined and efficient.

Demo of Auto Select Pasted Text

🌟 Features

πŸ”§ Installation

  1. Open VSCode.
  2. Access the Extensions view with Ctrl + Shift + X.
  3. Search for "Auto Select Pasted Text".
  4. Hit Install.
  5. Start enjoying a refined editing experience!

πŸ›  Usage

Whenever you paste content, it will be automatically highlighted. This auto-selection functionality is designed to streamline common post-paste operations, enhancing your coding efficiency. Here are some of the immediate operations you can perform on the auto-selected text:

After pasting, if you start typing, the auto-selected content will be deselected, and the cursor will position itself at the end, allowing for a seamless transition between pasting and typing.

For a personalized experience, delve into the extension's settings. Here, you can fine-tune features such as auto-deselection upon typing or enable debugging logs. But that's not all! If you need swift alterations, the command palette is at your service. Simply press Ctrl+Shift+P to open the command palette and search for commands starting with AutoSelectPastedText:. This will present a list of quick toggles and actions specific to the extension, allowing you to modify its behavior without diving into the settings menu.

This auto-selection feature aims to reduce the friction between pasting and editing, ensuring a smooth and efficient coding experience.

πŸ’» Development

Interested in the logic and technology that powers the extension? Explore the source code on GitHub.

πŸ“’ Feedback and Contributions

Your insights shape the evolution of this tool. Share your thoughts, report bugs, or contribute directly. Engage with us by opening an issue or submitting a pull request on our GitHub repository.