Edit local keyword lexicon

I have a PostgreSQL file open in PhpStorm and some of the keywords are not recognized (i.e., text, uuid, inet, etc.). To improve code visualization, I would like to add some of the missing keywords. I checked the .WebIde10 folder as well as the installation directory for a syntax file of sorts and couldn't find anything. Is there a way to do this?



Nope. This is a bit more complicated then a "syntax file" %)
Anyway, the PostgreSQL SQL dialect is supported natively. Check out File|Settings|SQL dialects. Set it for entire project or on per file basis.


Thanks. I had assumed when a file/directory was selected in the SQL dialects dialog, there would be a visual indication that a dialect was available to be chosen. As it is, you have to click whitespace to activate the combo box.

Additionally, the valid data types, 'inet' and 'uuid' are both flagged as a warning: unresolved data type %type%.


Well, please file a bug report with code sample and screenshot to http://youtrack.jetbrains.net/issues/WI


Please sign in to leave a comment.