Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125576 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 C125E1A00F1 for ; Tue, 17 Sep 2024 04:38:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1726548052; bh=thPC1exMFysl4u0qTPj3MbA3VdR3t3jwUi2sSrMNbiY=; h=Date:From:To:In-Reply-To:References:Subject:From; b=FocQiI0ZLyM5Mx9X5QAQj6NPqvxv8AplyTeLPW3KH8dXWqBsREsUnvOcqjVZrdcsZ vHFsNSKoQrZ6VDqfy6qekVmFVWG0Ftep4x39pXqYLHGEOWxSFTZB1J3jguNIjnx3+r VhnreV3ZIpka+MlZeiEZW5RiQ4PbiBB4ZoFEY/V4+X3MrGlo9ekyxNP5LGi4KB8kAo 9rSZ4cWQiyZhoEteChJ6/L1s9u7p7gbntABSUCy/teFuCnLRtzsoMCt6EvNs62Gu3U Fr4UP63OluF3rObIBHkvz6fnze7Y8lqMlubz33bJJXvvQfVEPdAJlkWa+wi0Dcz4Xz vZWalHno+jvfg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0DFC61801E2 for ; Tue, 17 Sep 2024 04:40:50 +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.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fhigh4-smtp.messagingengine.com (fhigh4-smtp.messagingengine.com [103.168.172.155]) (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 ; Tue, 17 Sep 2024 04:40:45 +0000 (UTC) Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfhigh.phl.internal (Postfix) with ESMTP id CAB0F11402BE for ; Tue, 17 Sep 2024 00:38:40 -0400 (EDT) Received: from phl-imap-06 ([10.202.2.83]) by phl-compute-01.internal (MEProxy); Tue, 17 Sep 2024 00:38:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to; s=fm1; t=1726547920; x=1726634320; bh=oLnWEsndu216Ik8ivnqqO tlTDxeDOH2n2TLurOAclpI=; b=DY+A00Kt3TA2K2Pdji6WoEB/ndQn05w2Rr43g pLSiuq2WI7W86SExyFXw2bMl9MgH+dVqhdgUK/a6GqZUqbVLJnQ223ZHEQbvXcYC scUee6Y0V7em9izO/c39nakmLVHn6WfV0w9mFupytgJvHij2vwDmodr1xK3B8M8k fMavQgFI+gS7DV8ephswXUY9lvelTXIOHUXV/vtDO2IVPJdFJRxi0DuzpxCvWInQ K4D6C562RW070iH25g8Yv98XcJI0hvWiqj9k6HU6M1wPopoyDpFV82mzPa/Bxi3/ cCrQ/JVWptfT8Zk6tjC0Yr/FkXicBq89kodlPlGhjqj/tAVVw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1726547920; x= 1726634320; bh=oLnWEsndu216Ik8ivnqqOtlTDxeDOH2n2TLurOAclpI=; b=N aTVkb33sbHx0z22nIkwSnIgOiCx3XxTm4GWvJm5AaHlrr51uwR4bq2FiYJZD4H9/ fRpdWtxEiyCkQth2HPhJzmimJmC8IMSQC5Aibo7upWIwzWUnepBcJvarOiYnZM7z U3c4bxKh7v7Wb66XL2m2dhsZjWHkRLFC/A+TMA5SBm3w4QqSIOvxXCkQwKkMnpIm wV+UmDhi2a41OnYeM3WVJgOyRjcbm+MYEmjB3P55lBrKFaOfQ5OMI2uQH3cd+rnC l5vuS/GYYo6Ryj+Ysv9qSUZmHWlUHaI2rfzBtXus2u2mQcMDE57+ka19m7PASJK6 d+xsASDFDtFDiC0iIhOKg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudekiedgkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepofggfffhvffkjghfufgtgfesthejredtredttden ucfhrhhomhepfdfnrghrrhihucfirghrfhhivghlugdfuceolhgrrhhrhiesghgrrhhfih gvlhguthgvtghhrdgtohhmqeenucggtffrrghtthgvrhhnpeefvdegheejgeduudejudeu feefffejheekhfefuedtkeefgedtffdvleefgefggeenucffohhmrghinhepsghoghhomh holhhovhdrthgvtghhpdhphhhprdhnvghtnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomheplhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtoh hmpdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehi nhhtvghrnhgrlhhssehlihhsthhsrdhphhhprdhnvght X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 97C4B29C006F; Tue, 17 Sep 2024 00:38:40 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Mon, 16 Sep 2024 23:38:19 -0500 To: "php internals" Message-ID: In-Reply-To: References: Subject: Re: [PHP-DEV] Re: Which IDE do you recommend for php-src development? Content-Type: text/plain Content-Transfer-Encoding: 7bit From: larry@garfieldtech.com ("Larry Garfield") On Mon, Sep 16, 2024, at 7:06 PM, Hans Henrik Bergan wrote: > +1 for VSCode, I use it practically everywhere these days, > HTML/Javascript/TypeScript/PHP/C/C++/Python/Lua, all on VSCode. > > On Mon, 16 Sept 2024 at 13:07, Barel wrote: >> >> 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/ Please please someone capture the details of this thread somewhere on the wiki or php.net, or maybe even in the php-src repo itself. We really need to have good "how to get from git clone to a working C debugger" instructions. --Larry Garfield