1. B M
  2. Valentina Studio
  3. Saturday, April 21 2018, 10:14 PM
  4.  Subscribe via email
Unless I missed it, will you add more advanced SQL Editor formatting capabilities beyond what you allow today? Besides a color scheme and a few check-boxes under "Editor" tab, there does not seem to be anything else to fine tune code formatting. For example, there is lots of wasted space by inserting a space between parentheses and keywords/strings, etc. It's annoying that I have to go back and remove them manually. Or having a list of keywords separated by new lines and a comma so the comma begins a line.

For example:

SELECT
( xpath ( '/family/@name',profile ) ) [1]::text AS family,
f.ordinality,
f.f

vs

SELECT
(xpath('/family/@name',profile))[1]::text AS family,
f.ordinality,
f.f

or in case of commas:

select 1
, 2
, 3

vs

select 1,
2,
3

If I have to break and insert a new line, the second option above flows more naturally, it rolls off the tongue so to speak, than the first. Anyway, just curious.
Comment
There are no comments made yet.
Lynn Fredricks Accepted Answer
B M, if there is a formatting feature you want, don't be shy about putting in a request by way of MANTIS. We very much look at user requests when adding features and their reasoning.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Studio
  3. # 1
Sergey Pashkov Accepted Answer
Hello,

Yes, we'll add more settings. Now the formatter works on its defaults.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Studio
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories