Re: Which IDE do you recommend for php-src development?
| From: | Ilija Tovilo | Date: | Sun, 15 Sep 2024 10:22:32 +0000 |
| Subject: | Re: Which IDE do you recommend for php-src development? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-125553@lists.php.net to get a copy of this message | ||
Hi Carlos
On Sat, Sep 14, 2024 at 11:44 PM Barel <barel.barelon@gmail.com> wrote:
>
> For C/C++ development I usually use CLion from Jetbrains but I tried to use it with php-src and
> was unable to get it to work properly. CLion really insists on using CMake and has only quite
> limited support for makefiles. After trying to get it to work unsuccessfully I am ready to try
> something else.
>
> So which IDE would you recommend for php-src development? I understand that people probably
> have many different preferences but I wondered if there was something that most php internals
> developers used.
I tried to like CLion, but it was extremely laggy for me every time I
tried it. php-src contains some rather large files, and even some dsl
(zend_vm_def.h) that didn't work well at all. I also didn't find a way
to add simple highlighting support for PHP test files.
VSCode works surprisingly well, I've used it for C development for
years. I created a simple guide for setting it up, including gdb. It
shouldn't take you more than 10 minutes. [1]
Zed is also already a decent option that essentially just works out of
the box. Unfortunately, it's currently lacking debugging support. [2]
> One important feature would be to easily work with the project running on a docker container
Can't help you there, I don't use Docker for C development.
Ilija
[1] http://php.github.io/php-src/introduction/ides/visual-studio-code.html
[2] https://zed.dev/