PostgreSQL + Python Syntax

Hello every one.
How i can select python colors and syntax mode when i work with postgresql?
As you can see on second screen - all python code highlighted as text.

But i try open this functions on PyCharm (first screen), and all python modes worked.

Message was edited by: Alex Kobzar



Attachment(s):
Снимок экрана 2015-09-03 в 10.20.50.png
Снимок экрана 2015-09-03 в 10.17.01.png
7 comments
Comment actions Permalink

0xDBE does not have support for develoing Python code. So python syntax highlighting does not work in SQL console or function editor.

0
Comment actions Permalink

But i am and lot of database programmers use python (Plpythonu) to devep postgresql.
I think this is important for usability your IDE.
Because this is internal functions of postgres.

0
Comment actions Permalink

As i know you have all of this functional in pycharm.
So, may be you can add python syntax highligth in DBE?
I am don't need code cheker or another python instrument. Just code syntax highligth,
because wery harded develop functions when i cee code as text.

May be i can import/export (manual copy) some config files from Pycharm to DBE to resolve this issue?

0
Comment actions Permalink

Hello Alex,

Unfortunately it is not about just copying a configuratin file but rather having quite heavy dependency on libraries, used in PyCharm platform code.

0
Comment actions Permalink

So maybe you can add syntax highligther just for editor?
Example in any text editor (vim, sublime, eclipse e.t.c.) we can download syntax highlighter scheme.
I say again - its very important for DB developers.
Because  DBE is very good ide for database develop - but i can't use it without syntax highlight.

0
Comment actions Permalink

Hello, Alex! The good news is that now you can have syntax highlighting for any language supported by a TextMate bundle, please see more at https://confluence.jetbrains.com/display/DBE/0xDBE+143.615+Released . Feel free to try the latest EAP version.

0

Please sign in to leave a comment.