Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
Qt Creator 13.0.0-rc1
-
None
-
Windows 10
Product: Qt Creator 13.0.0-rc1 (12.0.84)
Based on: Qt 6.6.2 (MSVC 2019, x86_64)
Built on: Mar 4 2024 01:49:03
From revision: 51ca09c2d7
Description
Indentation is incorrect when adding a new slot after configuring indent size in TextEditor
STEPS:
- Preferences -> Text Editor -> Behaviour: Tab size:2 & Indent size:2
Click Apply
- Go to Preferences -> Text Editor -> C++.
- Observe that in General tab, the Tab size is shown as 4.
- Open / Create a project with mainwindow form
- Open the mainwindow.ui and add a push button
- Click on "Go to slot" , which will add the slot function
OBSERVED:
- The cursor is still 4 spaces from the start of line
EXPECTED:
- The cursor should be 2 spaces from the start of line
- When setting 'Preferences -> Text Editor -> Behaviour: Tab size:2 & Indent size:2', it should reflect in Text Editor -> C++ also
Attachments
Issue Links
- relates to
-
QTCREATORBUG-11730 Goto slot code creation does not follow c++ indentation
-
- Closed
-