[Solved] General Indentation is x2

5 Posts
2 Users
0 Likes
282 Views
(@jpotelle)
Member
Joined: 2 years ago
Posts: 15
Topic starter  

General indentation amount is not calculated correctly.

Notepad++ v8.4.5 (x64)
SQLinForm GUI 6.22.9.31 Engine 6.22.09.30

Profile: General: General Indentation: Spaces = 1 results in 2 spaces indent.

Profile: General: General Indentation: Spaces = 2 results in 4 spaces indent.

etc.


   
Quote
Guido
(@admin)
Member Admin
Joined: 2 years ago
Posts: 175
 

Hi Jpotelle,

thanks for your mail.

Could you please post an example or send it to me (info at sqlinform dot com) via mail. Also your exported profile would be helpful

Regards

Guido


   
ReplyQuote
(@jpotelle)
Member
Joined: 2 years ago
Posts: 15
Topic starter  

email sent.


   
ReplyQuote
Guido
(@admin)
Member Admin
Joined: 2 years ago
Posts: 175
 

Hi jpotelle,

thanks for sending the code snippet and the profile.

The SELECT statement is inside a CREATE TABLE statement and inside brackets. Therefore the SELECT is classified as a Sub-SELECT statement and both the brackets and the SELECT statement are indented.

This leads to double indention value.

If you do not like this behavior, just uncheck the "indent Sub-Select" option

grafik

Regards

Guido


   
ReplyQuote
(@jpotelle)
Member
Joined: 2 years ago
Posts: 15
Topic starter  

Thanks!


   
ReplyQuote
Share: