3

抱歉,如果这个问题已经得到解答,但谷歌或堆栈的搜索没有任何内容。

当我在 Notepadd++ 中复制和粘贴多行时,所有行都保留它们的相对缩进,但它们与第一行无关。

有谁知道使 n+1 行相对于粘贴的第一行保持缩进的设置?

4

1 回答 1

2

I'm not sure if this is actually possible, not without a plugin anyway!

You could use an auto-indentation plugin like the following: http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Plugin_Central

A quick way to adjust indentation as well is to highlight the whole misaligned section and press Tab to move it all to the right, and press Shift + Tab if you want it all to move to the left!

于 2012-11-11T20:28:51.630 回答