SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Code Formatting

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
Code Formatting
Author Message
Risk



Joined: 17 Nov 2008
Posts: 34
Country: Italy

Post Code Formatting Reply with quote
Hi guys
I've a problem: when I format my code and I have an expression like '@var = 1e-8' using CTRL+F11, Sql Assistant transforms it in '@var = 1e -8'. Adding a space before the -8, the value of the variable @var is totally different: near ZERO before the formatting, -7 after the formatting.

Please, how can I set up my Sql Assistant in order to avoid this problem?

Thanks in advance
Ciao

Andrea

Risk Manager
Kairos
Italy
Mon May 17, 2010 3:00 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7907

Post Reply with quote
Hi Kairos,

Please change spacing options in SQL Assistant settings. On Code Formatting tab, on the left side, select the default code formatting style for your database type, then expand Spacing options on the right, then in Operators Spacing line, choose "Don't Modify" option. Apply changes and restart your SQL Editor.
Mon May 17, 2010 9:34 am View user's profile Send private message
Risk



Joined: 17 Nov 2008
Posts: 34
Country: Italy

Post Reply with quote
Great!

Thanks a lot

Ciao
Mon May 17, 2010 10:53 am 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.