Re: IDE setup and development features? - Mailing list pgsql-hackers

From Vladimir Sitnikov
Subject Re: IDE setup and development features?
Date
Msg-id CAB=Je-ExrgD1v2U8az5c9f2k9NWO1OZoesuxaESUOFy8FyMWCg@mail.gmail.com
Whole thread Raw
In response to IDE setup and development features?  (Mori Bellamy <mori@invoked.net>)
List pgsql-hackers
Mori>Was wondering if anyone has had luck getting these three set up for any IDE or editor configuration? 

Just a data point: CLion + CMake work just great.

Step by step (just checked in macOS):
1) "Check out from Version Control" -> Git -> https://github.com/stalkerg/postgres_cmake.git -> clone
2) CLion asks if it should open CMakeLists.txt -> yes
3) Wait a bit 
4) That's it

It results in quite good IDE support for PostgreSQL code: jump to definition, find references, great autocomplete, parameter hints (including the ones for macros), refactoring (e.g. function rename with update of the references).
It imports run/debug configurations from CMake as well, so one can run and debug tests/binaries right after project import.

Vladimir

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: IDE setup and development features?
Next
From: Daniel Gustafsson
Date:
Subject: Re: [HACKERS] Optional message to user when terminating/cancellingbackend