Duplicate line in Microchip Studio

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm trying to figure out how to duplicate lines in Microchip studio.

 

In most other text editors it is crtl+shift+down or ctrl-d or ctrl-shift-d

 

Is there really no duplicate line functionality in the Microchip Studio editor?

I love the smell of burning silicon in the morning

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

jaza_tom wrote:
In most other text editors it is ...

Is it? can't say I'd ever noticed.

 

Then again, I've never looked for it - just done the usual copy-&-paste

 

EDIT

 

In Eclipse, Ctrl+D seems to delete the line; the others do nothing.

 

In Notepad++, Ctrl+D does, indeed, duplicate the current line

 

Since Microchip Studio is built on MS Visual Studio, googling for the Visual Studio answer might help; eg,

 

https://stackoverflow.com/questions/2279000/visual-studio-short-cut-key-duplicate-line

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
Last Edited: Thu. Nov 25, 2021 - 09:24 AM