SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
[12.4.476 Pro] - BUG: Snippets and indentation

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
[12.4.476 Pro] - BUG: Snippets and indentation
Author Message
gemisigo



Joined: 11 Mar 2010
Posts: 2109

Post [12.4.476 Pro] - BUG: Snippets and indentation Reply with quote
There's something fishy with code inserted from snippets and indentation. Let's take this snippet as an example:
Code:

select 1;
select 2;
select 3;


When I insert its contents by filtering the snippets down and picking the one I want by clicking it with the mouse or selecting it in the popup an hitting enter on it, it works perfectly, regardless of the indentation level it was initiated on.
However, when I invoke it using the last character as the trigger, it does all kinds of weird stuff.

Check this short video here. The first few times I use either mouse click or hit enter to pick the snippet, it always puts the lines at the same (correct) indentation. But as soon as I start writing the snippet name in full to trigger it, the indentation of the first line is proper but all the subsequent lines are misplaced, sometimes by a single character (to the left), sometimes by a whole indentation level.
Thu Oct 26, 2023 11:27 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
Thank you. We will investigate this issue.
Thu Oct 26, 2023 12:37 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.