CLion would not recognize pro*C syntax

Answered

I loaded an existing project into CLion but when I try to read the code with PRO*C syntax embedded its not recognizing it and is complaining about 'Can't resolve variable exec' and it would do the same with 'from', 'where', etc and anything that has to do with SQL syntax.

I was able to link the oracle libraries for linux into my CMakeList.txt but still the IDE won't recognize the PRO*C syntax.

Any ideas?

Thx

4 comments
Comment actions Permalink

Hello! Unfortunately, PRO*C syntax is not supported in CLion at the moment. Feel free to submit a feature request in our tracker: https://youtrack.jetbrains.com/issues/CPP.

Just in case, here is a 3rd-party example of the CMake file that handles the proc file: https://github.com/rubin55/proc-adventures/blob/master/CMakeLists.txt.

0
Comment actions Permalink

Hello,

Is this still the case in 2021?

Yours,

0
Comment actions Permalink

Francis Nikou there is still no special support for PRO*C syntax in CLion. But CLion now supports TextMate bundles - https://www.jetbrains.com/help/clion/tutorial-using-textmate-bundles.html. So if you find or create a TextMate bundle for PRO*C, you will be able to use it in CLion.

0

Please sign in to leave a comment.