Comments
10 comments
-
Hi DataJedi,
Apologies for the issues you are experiencing with SQL Prompt. If you go to SQL Prompt > Edit Formatting:
you can create a new style: The formatting which is being set is the default style unless changed prior.Can you try unchecking. Preserve existing empty lines between statements.
Please let know if this helps
Best,
Hassan
Product Support Engineer -
Hello Hassan.
I just checked, and "Preserve existing empty lines between statements" is already checked.
Perhaps I can share my settings file with you? -
Hi,
Sure, also could you send us a copy of the script in question so we can test it.Best,
Hassan
Product Support Engineer -
Sent you message with the files.
-
Hi DataJedi,
Apologies for the delay. Could you please inform us of the active style you are currently using, or if you have a custom one configured can you send it to us?
-
Sent you message with the files. Let me know if you don't see it.
-
Thank you, However the style file should be a JSON file and should be saved here: C:\Users\<YourUser>\AppData\Local\Red Gate\SQL Prompt 10\Styles. Could you send me a copy of the custom style within that directory.
-
Ok. I sent the JSON file as a ZIP file. Your messaging system does not allow uploading of JSON files.
-
Hey DataJedi,
Thank you for sending over the files. After testing your script, I observed that the default style behaves consistently. However, there's flexibility to enhance it by unchecking the options within the wrapping section or specifying a character limit for wrapping as needed.
-
Ah, okay. I can work with that. Thank you so much.
Add comment
Please sign in to leave a comment.
I'd like to see what settings are affecting this behavior. I'd prefer to have the entire statement on one line (or as few lines as possible) so that I can manually decide where to make the line breaks.