Geek Culture
Published in

Geek Culture

[VS code] How to copy&paste a long function in its entirety

If you want to copy or cut such a function to another location, how do you do that?

- Drag with mouse
- Shift + ↓ / ↑ selection and then copy and paste?

If this is a short function, that should be enough.

But what if this function has 100 lines of content?
If it’s a one-time job, that’s…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
SAKATA

SAKATA

Master of Applied Physics/Programmer/Optics/Condensed Matter Physics/Quantum Mechanics/AI/IoT/Python/C,C++/Swift/WEB/Cloud/VBA