Re: IDE setup and development features?

From: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
To: mori(at)invoked(dot)net
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: IDE setup and development features?
Date: 2018-10-10 11:35:25
Message-ID: CAB=Je-ExrgD1v2U8az5c9f2k9NWO1OZoesuxaESUOFy8FyMWCg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2018-10-10 12:20:53 Re: [HACKERS] Optional message to user when terminating/cancelling backend
Previous Message Amit Kapila 2018-10-10 11:00:53 Re: IDE setup and development features?