Coder Social home page Coder Social logo

Comments (7)

dail8859 avatar dail8859 commented on May 18, 2024

It is already possible. Ctrl+Shift+T is set to copy the current line. However in the recent versions of N++ Ctrl+Shift+T was also mapped to open the most recent tab. (There is a shortcut conflict currently). You must change either the shortcut for "Restore Recent Closed File" or for SCI_CUTLINE

from notepad-plus-plus.

jsherwood-atcomm avatar jsherwood-atcomm commented on May 18, 2024

Thanks, I got it working mostly.
I'm sure you know, Visual Studios Ctrl+C copies what is selected or if nothing selected copies the current line. It is an option you can turn on or off. For me that would be better than having to remember a different key combination.

Joe

from notepad-plus-plus.

dail8859 avatar dail8859 commented on May 18, 2024

Yes, technically it is possible. Notepad++ uses Scintilla as the underlying component to handle the text editing. There is a Scintilla option called SCI_COPYALLOWLINE that Notepad++ does not expose as an option to change (although maybe something worth adding to Notepad++). I believe the only way to enable this is through a plugin, something like NppExec or Python Script

from notepad-plus-plus.

dail8859 avatar dail8859 commented on May 18, 2024

Nope! Disregard what I just said. Its not an option, its an actual command but it doesn't look like you can set up a shortcut for it...which is odd.

from notepad-plus-plus.

jsherwood-atcomm avatar jsherwood-atcomm commented on May 18, 2024

I was just about to say, I should learn about plugins.

from notepad-plus-plus.

MAPJe71 avatar MAPJe71 commented on May 18, 2024

Have a look at this plugin Notepad-VisualStudioLineCopy. The source for the .NET/C# variant can be found at Npp-VisualStudio-LineCopy.

Or, use the Python Script plugin and the appropriate Python script (search for it on the forum) to accomplish the same effect.

from notepad-plus-plus.

jsherwood-atcomm avatar jsherwood-atcomm commented on May 18, 2024

Thank You, that was perfect.

from notepad-plus-plus.

Related Issues (20)

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.