I use Notepad ++ to write PHP, and I find a way to not have the same indentation as before Enter, which is pretty troubling. Say I have a block of code like this:
foreach()
{
if()
{
}
}
If you move the pointer to the beginning of the if () line and press Enter, this line will be indented, such as the foreach () line
foreach()
{
if()
{
}
}
How can I point Notepad ++ to automatic indentation code like this?
foreach()
{
if()
{
}
}
source
share