Comments (7)
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.
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.
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.
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.
I was just about to say, I should learn about plugins.
from notepad-plus-plus.
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.
Thank You, that was perfect.
from notepad-plus-plus.
Related Issues (20)
- [BUG] Lua: cannot add additional styles HOT 1
- [BUG] "In all sub-folders" when searching does not go through all sub-folders HOT 3
- Use DIR_O in nppSpecifics.mak properly
- Feature Request: Adding Strike-Through Option for Lines HOT 2
- Try don't use the REST API to get PR message in CI build
- [Feature request] Add user-defined tag or attribute names to HTML parser
- [BUG] No file/tab to "left" or "right" when using Document List
- [BUG] Improper item enabling when "Close Multiple Documents" menu is shown
- [BUG] Find & Replace dialog vertical resize arrows
- [Feature request] Simplify Macro warning message on upgrade
- [Feature request] Redirect to open the same file when using multiple windows (multiple instances)?
- [BUG] Dark mode for command argument help, Wingup Dialog, Print dialog HOT 1
- [BUG] translation missing"Can not start printer document" HOT 1
- [Feature request] organize Toolbar HOT 1
- [BUG] File:// link with encoded character doesn't open
- [Feature request] Add support to associate files extensions with language by default HOT 2
- [BUG] Macros mangle my files HOT 2
- [BUG] Typo in config.xml GUIConfig setting: "MaitainIndent" HOT 1
- [Feature request] Add a group layer for files HOT 2
- [Feature request] Duplicate selected lines, new command HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notepad-plus-plus.