Code Monkey home page Code Monkey logo

pastetotarget's Introduction

Paste To Target

Alt+V to set a paste target. Ctrl+C to Copy and Paste

This small VS editor extension turns Copy/Paste from Search/Copy/Go-Back/Paste to Set-Paste-Target/Search/Copy. Right after Ctrl+C, before pressing Ctrl+V, it's often frustrating to navigate back to the editor I started from. This tool will do that automatically when Ctrl+C is pressed. I find this helpful and decided to publish this extension just in case others might too. But your mileage may vary :)

Download VSIX from PasteToTarget's Visual Studio Gallery homepage

##Before Copy/Paste works best when you're browsing information and find something interesting and decide to save it or use it. It's not as great when you're actively coding and decide you need a piece of code that's somewhere else. For the untrained eye it may seem you're still only doing (1) Copy and (2) Paste but the reality is:

  1. Search: You open several new editor tabs or potentially new VS instances or browsers to search for the needed information
  2. Copy: Finally found it! Ctrl+C to copy it to Clipboard
  3. Go Back: You need to find your way back to where you started: you find your VS session and switch back between editor tabs until you find the one you were initially on. Hopefully the cursor is still where you left it.
  4. Paste: You press Ctrl+V to finally paste from Clipboard and you're back to work

##After The idea is simple - reduce the interruption of Copy/Paste by saving you a step

  1. Set Target: You know you need some code here. Alt+V to set the Paste target for Clipboard
  2. Search: Same as before, find your code through piles of editor windows, new VS instances and browser pages
  3. Copy: You found it? Ctrl+C and the text won't only go into the clipboard but also in the "target" you set in step #1. No need to find your VS instance and editor window, as it will automatically be brought into focus and the text will be pasted. You can now resume coding.

A paste target can be any selection in an editor including:

  • A multi-line selection,
  • A block selection or
  • Just a caret position

pastetotarget's People

Contributors

mluparu avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.