Since the commenters here were wholly unhelpful (and event downright derisive)
I personally thought that @Alan-Kilborn and @Lycan-Thrope were both very helpful 2 years ago: one explained how to do it as tersely as possible, and the other prodded him to expand, trying to avoid assumptions about the understood terminology – and answering the question and prodding to make it easier to understand are not derisive in any way, shape, or form.
The closest to derision was my claim that a post that something as generic and unhelpful as “the user typically needs to activate the feature by selecting a specific key combination or by accessing it through the editor’s menu or toolbar” – that’s literally how you use a Windows program, yes, but it says nothing sepecific about the specific keystrokes or menu commands to use to accomplish the specific goal (whereas Alan did provide specifics) – was just calling out a reply that appeared to be LLM-created. I am sorry if you are offended that I call out unhelpful LLM posts as such (and nowadays, I’m less diplomatic, since LLM nonsense is expressly forbidden in this forum), but that’s one of my jobs as a moderator.
But on to the actual content:
In order to get Notepad++ to do tab manipulation similar to Visual Studio with block selection, all you need to do is bind the Tab key to Edit > Indent > Increase Line Indent.
Interesting. I cannot get that to do the same thing as VS:
First, to confirm what VS does:
Column/Rectangle/Block selection:a1d1763b-39e9-4454-a058-6d25f2216100-image.png TAB:
97bfc51d-d287-49bd-82bf-f3fbd69c4623-image.png
So VS does add indent at the start of the Column/Rectangle/Block.
Now let’s look at what N++ does “out of the box” with a Column/Rectangle/Block selection in the middle of a line:
Column/Rectangle/Block selection:
3e3fe79c-ae0a-4ab0-ad9c-7eb90892c8d8-image.png
Normal, unchanged TAB:
5d248285-46a6-4790-b4a3-c5639bc10aa3-image.png
This is the undesired behavior.
Now, instead, do what @Alan-Kilborn suggested in 2023:
do a zero-width column-mode selection instead of a multi-character column-mode selection:
3cc5a79c-63a6-436e-902b-0992aa057c17-image.png
Then hit TAB, and it will indent from that location, without deleting any characters:
30fb7403-b379-41d9-932c-866f80a2b9da-image.png
Now, to look at your suggestion
Change the Increase Line Indent to use the TAB key (and remove any conflicts elsewhere):
1f38f6d2-bc5a-4e53-b912-146f145b3e3a-image.png
Do the Column/Rectangle/Block selection in N++:
782acaac-b3d8-4c0d-b71f-879eb45f32fa-image.png
And then hit the newly-mapped TAB:
70b5473f-1625-422d-a31e-22dd52a51be8-image.png
… noticing that the results are the same as in step 4: it overwrites the characters.
So @Alan-Kilborn’s suggestion is able to mimic the results of VS, though the selection has to be a little different to get it to overwrite nothing.
Whereas Notepad++'s original behavior is identical to the behavior when I follow your instructions: it overwrites the selected text with the tab (or spaces, if you have space-indentation enabled in N++)
So did I miss something from your instructions? Or are you seeing different behavior with Notepad++ v8.8.5 than I am?