1. B M
  2. Valentina Studio
  3. Суббота, Апрель 21 2018, 10:14 PM
  4.  Подписаться через 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.
Комментарий
There are no comments made yet.
Lynn Fredricks Ответ принят
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.
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hello,

Yes, we'll add more settings. Now the formatter works on its defaults.
Комментарий
There are no comments made yet.
  • Страница :
  • 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