Intellij14 and "Please Provide Missing Values dialog box"

84 views Asked by At

I'm trying to run simple SQL scripts with type casting on a PostgreSQL db via IntelliJ 14. I have problem with type casting. E.g., consider the following trivial query:

select '100'::INT;

Everytime the following annoying panel appears:

enter image description here

Clearly, the message "Please Provide Missing Values..." drives me crazy, since INT is not a parameter, but just a type casting. Am I doing something wrong?

1

There are 1 answers

2
Peanut On BEST ANSWER

IntelliJ lets you define what counts as a parameter and what does not.

Go to "Settings" -> "Tools" -> "Database" and have a look at the "Custom SQL parameters". You probably want to remove \:\w+, as it's probably triggered by your type cast.

IntelliJ database settings

Have a look at the documentation for more information about the parameters: http://blog.jetbrains.com/phpstorm/2014/11/database-language-injection-configuration/