Notepad ++ and nppautoindent

I installed the nppautoindent plugin in the Notepad ++ editor. I do not see the effect of auto-intensity. I am using PHP. Can someone help me make this work?

thanks

+4
source share
1 answer

What version of Notepad ++ and NPPAutoIndent are you using? I am using Notepad ++ version 5.8.7 and NPPAutoIndent version 1.2. I am not familiar with how the plugin should work, but I think I have an auto industry to work with.

First, open "Settings" - "Settings" - "Miscellaneous" and make sure that Auto-indent is not checked. Then go to Plugins-> NPPAutoIndent and make sure Smart Indent is selected. Once this is done, I get this indentation when I press Return after each line:

function test() { return "Test"; } 

It looks like this:

 function test() { return "Test"; } 

I hope this helps.

+4
source

Source: https://habr.com/ru/post/1337757/


All Articles