-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
Is there an existing issue for this?
- I have searched the existing issues
Description of the Issue
What is simple auto indent? When I press enter i want the indentation of the next line to be exactly the same as current line. I don't want any fancy algorithms decide for me that after if statement the next line should have higher indentation level. This was the default behavior in v8.1 and I liked it. I just tried upgrading to v8.6.8 and in python files it appears to have switched to smart auto indent that I hate, and there appears to be no setting to switch back to simple auto indent (or did I miss that setting somewhere?)
To be crystal clear, here are steps to reproduce below. Also I am creating this as a bug (hope that's ok) since this is a regression compared to v8.1 and this is so critical for me it forces me to downgrade for the time being.
Steps To Reproduce
- Open any python file in Notepad++ v8.6.8.
- On an empty line type:
def func():
if True:
Then press enter.
Current Behavior
I denote ^ to be system cursor. By switching auto indent option I can achieve either of two options:
- Option 1: By default (auto indent enabled):
def func():
if True:
^
- Option 2: auto indent disabled:
def func():
if True:
^
Expected Behavior
I use ^ character to denote system cursor. I want it to be here:
def func():
if True:
^
Debug Information
Notepad++ v8.6.8 (64-bit)
Build time : Jun 4 2024 - 00:30:00
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : "C:\Program Files\Notepad++\change.log"
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 11 Pro (64-bit)
OS Version : 23H2
OS Build : 22631.3296
Current ANSI codepage : 1252
Plugins :
mimeTools (3.1)
NppConverter (4.6)
NppExport (0.4)Anything else?
P.S. Thanks to the maintainers for keeping notepad++ alive and well!