Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125562 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id CCC931A00BD for ; Mon, 16 Sep 2024 11:04:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1726484821; bh=ITTVfkkmHd0j560lEaZJO0eEjMmjLhRoK3D50sIv8u4=; h=References:In-Reply-To:From:Date:Subject:To:From; b=ilUFbq28K3mC07rN+2iFv/ludV86Pv5on50k2dyd0bPC7EaA9A6p7Ob/se97aFF/U rrMOs8a9XReggLVObgi01n537tabsqDoa2xdEvXJb2BCAo0sGorw4YqYScPT82W15d a3lBQLeM/dw7sql0tRhNeWvOUYwfp0/wGURYR0R+TawUdTfMpAEqzmg0I5FDqSHJTG 1OQccLHbCJn1IzHkqz4z/7gUOzkgh/EGCLOdv06ft5640Y3b1scGWNanOWPRHqzqLp /xw3TBmses/GeOsv6v0y6ekETPXfxDd+1FRTphU2CVkrk8gjMjgJWCmntSM0UZTQVu kpEMp31Jbbt7w== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 70642180042 for ; Mon, 16 Sep 2024 11:07:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 16 Sep 2024 11:06:59 +0000 (UTC) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-42cb806623eso36528235e9.2 for ; Mon, 16 Sep 2024 04:04:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726484694; x=1727089494; darn=lists.php.net; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=ITTVfkkmHd0j560lEaZJO0eEjMmjLhRoK3D50sIv8u4=; b=FVdrgOfYJy4/ciMQI4Nb+xc6Et/qt+B/LBO9oGb5edW4Hkr9bT0r06nwEWY63XuSQ6 kmTOK6kuEsThI5Ui8zRcq9arMJVXx9ZMayrtiGKTv+dxcqsbeRHijXLxw1AfXlYPgYld shEiQcN0uoWYV7cHUiQT9qZ+Sx7ahsKogRkkPk21G/PJEGvACTBvmk5U7RKr5sOcwiEq oiiq9RhjVLEow2k3a67fMQiYH9lIvOe2XjTs08SK8s0uUMGf63ueAeQMHGrxlmJ6VBBW Cp9X9YEr7TA9jz7O64iFtbzo5AXIxhFeiVygbkldHnKIsOZ7T5W7j8Q7bT2vgJF03vBA EP0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726484694; x=1727089494; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ITTVfkkmHd0j560lEaZJO0eEjMmjLhRoK3D50sIv8u4=; b=lmZMxYMXcn4cM7bamtrIkM2z+iOCrO9PoB2RJkFsHsTkFNcXtBOJsbqhWvnmnHQubm FPS2WljiOyfbuLNINUS2VK0jQC2ISuskiq/x9tN+9x1pjzLPl6JqLKSlFDB16Q2f2flV iBPNhT6tlW7F7R8v3udyZPHYmCqKRW1kkAhPyUYmQYY0dRQM79WaRUfP13OEFORX2zWB CGq0282CRX2Va0ynMrG8XtZfUlUzFNkp2b2a+KayGVYlN6kBEscEQwvnVNvgz1/k9wll LiRqbZrNeL3/z1DlGOUfypE0ZRmKj389RraC4MvTv1ocdOa10z+LCFpRF0j//da+ppHv TWdA== X-Gm-Message-State: AOJu0YxNTbisIlD2VeR4fXs7hRPIkTJIq9Va9ThBPGJL7hKm8ZJURzUn L1lqP5MzuUYclIT2/BaoLVczSHlTQtyBbI96GbZSoAmonssBJcd2R9mPz40tqLAnS8el5aoa3G8 ycsUq4pUcZOpaA51g4MB+oBaFCVcErw== X-Google-Smtp-Source: AGHT+IECgdCdtntUy885XyqywP+hkcqCd7yCtOSHpMpQQ9NLidpjYQV7HNS43o6UKCiinrRuD7SM+WxQLI2fjfBRD5o= X-Received: by 2002:a05:6000:ac4:b0:366:ee9b:847 with SMTP id ffacd0b85a97d-378c2d05d7emr7671088f8f.14.1726484693517; Mon, 16 Sep 2024 04:04:53 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 16 Sep 2024 13:04:41 +0200 Message-ID: Subject: [PHP-DEV] Re: Which IDE do you recommend for php-src development? To: PHP internals Content-Type: multipart/alternative; boundary="000000000000de113806223a8ab8" From: barel.barelon@gmail.com (Barel) --000000000000de113806223a8ab8 Content-Type: text/plain; charset="UTF-8" On Sat, 14 Sept 2024 at 23:44, Barel wrote: > Hi > > 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. One important > feature would be to easily work with the project running on a docker > container > > Thanks in advance! > > Carlos > Answering myself in case someone finds this useful in the future. Several people recommended VSCode so decided to give it a try. I found this guide which describes very well what you need to do to get VSCode working for a php-src project hosted in a docker container. Works brilliantly, I am able to work with the code in the container using all VSCode features, including debugging with GDB. Nice! https://bogomolov.tech/php-extension-development/ Cheers Carlos --000000000000de113806223a8ab8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, 14 Sept 2024 at 23:44, Barel <= barel.barelon@= gmail.com> wrote:
Hi

= For C/C++ development I usually use CLion from=C2=A0Jetbrains but I tried t= o use it with php-src and was unable to get it to work properly. CLion real= ly insists on using CMake and has only quite limited support for makefiles.= After trying to get it to work unsuccessfully=C2=A0I am ready to try somet= hing else.

So which IDE would=C2=A0you recommend f= or php-src development? I understand that people probably have many differe= nt preferences but I wondered if there was something that most php internal= s developers used. One important feature would be to easily work with the p= roject running on a docker container

Thanks in advance!
Carlos
=C2=A0
Answering myse= lf in case someone finds this useful in the future.

Several peo= ple recommended VSCode so decided to give it a try. I found this guide whic= h describes very well what you need to do to get VSCode working for a php-s= rc project hosted in a docker container. Works brilliantly, I am able to wo= rk with the code in the container using all VSCode features, including debu= gging with GDB. Nice!

https://bogomolov.tech/php-extension-deve= lopment/

Cheers

C= arlos
=C2=A0
--000000000000de113806223a8ab8--