Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125553 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 ACD361A00BD for ; Sun, 15 Sep 2024 10:22:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1726395890; bh=/uC4qz0bZCuGNCC1dWI+sJ2zuYVNuyC+RG+rtzUAlec=; h=References:In-Reply-To:From:Date:Subject:To:From; b=cGYwgpui2yQ2l+qtIp8RRBn5bpigNKIo3ro7pou3kqj31BnheIPklGybS6mMiOepW LfCZSQJ35O7sL6H7SZm7auU0QPIOW76sl7OH7jYYWtgP8mX3ITLBUOWCIPEbPGqPMW azgIdT+wQjnmfbvkqG4NAFzCCHcpV9oRkb5rJm1QO2vZ0hqSWdlHtZMijjcZuxOoPj JQsh5jlKJv41UL48dIXspY1BnalmJ1p2J7UDwtRLbgIWZ1BgW3gaD9ZYPD8FATtFji SU4SMJo7U2kFET9GCc6cMHQmpvuMfztwST+pOfsvgiPf7kwKtzlT6bQuvpH6JVDFYQ nTsxTeuY/ZlQQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A7780180074 for ; Sun, 15 Sep 2024 10:24:49 +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, 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-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) (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 ; Sun, 15 Sep 2024 10:24:49 +0000 (UTC) Received: by mail-qk1-f171.google.com with SMTP id af79cd13be357-7a9a3071c6bso27402385a.0 for ; Sun, 15 Sep 2024 03:22:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726395764; x=1727000564; darn=lists.php.net; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=/uC4qz0bZCuGNCC1dWI+sJ2zuYVNuyC+RG+rtzUAlec=; b=C/SMNb8zVyU5cmfTp27PgOQpuRQ7l7DFEiydg8mu0YaVgSkTi/HI/s4IOf8DLcuNy+ FcQbEzzcMz5EZzt9Ij/EkrHbGFF+kEidi9B/aUhrqJV0DL4DrO7vNOQb7wMGRIRbYSgh zZ3GFRvElvvgYLvPdbI60fudUUqj5pUjp/p+TnF4KZWUkaJ2Owm6ifwMNnacVO0IJfXu ov6onaCvbRKLu2cDz17QCyN/UqLwrnEGZFRcb7kWEPIt1lPRjZXcDIv0Bt/Ljvo+KQKt aE5s4gNeyTGHwAoKExioEMNHUWUKj5opcDyeKS99wvX2pxsY0FCAYUOMzedeDn9frNPv AXIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726395764; x=1727000564; h=content-transfer-encoding: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=/uC4qz0bZCuGNCC1dWI+sJ2zuYVNuyC+RG+rtzUAlec=; b=M5diiXfIvW42joFFPIkfUBfbVrkJUVe/qQ2z9O5jJpBoEgqSS2GcjUZWHkZtWrCDK6 GdtVZUB/i9cAI24yyCbABnW5xk+YZUYzqdpUogDeYIVj22whr3gJ6U39eO3KFGSMPNuA tT0ZtZULtXWG7AQkbPLMZ2ZWdyAy5A/VF1edca5axowYTg/mcm5eSrG6fNgUddR7DEJ+ xjyb2E4h5A6Ar/wkCSEVEStthX3sKfizYFvk64gQVIaIFFIBsVXzdNFGEweZam6fctO0 vfEADA3YRA2WOeCGFvJwenMzgIO2ZraHhPnxvsS+qspcCIiGyFtwi0U8WZ79OLOEuRLY mn9A== X-Gm-Message-State: AOJu0Yyz3f4/A8kChSDdzoWLTwUvGiTifT9gyULc0xixO70vCUPwGEnJ rBWHPDNTvtdLoTv2VG5NaUdOhBmaF96ngLwYb2GiBwMg0ZkdbpEBrHymK2HOzwenU8V6VyjuusF FtYlajWS74XGnSXej6GIj//mj2kWpYNsNkjg= X-Google-Smtp-Source: AGHT+IFNKlc8SJoEF/Q7dL8lOlqsEKUjnxdhKUDtY5IV9GnO+cTwIjfcNHV3yzuqbek2MnBS0s4xNrzuuF42D0wAY0U= X-Received: by 2002:a05:6214:5d08:b0:6c5:14ac:e7e3 with SMTP id 6a1803df08f44-6c57e0bc2b0mr102128396d6.38.1726395764253; Sun, 15 Sep 2024 03:22:44 -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: Sun, 15 Sep 2024 12:22:32 +0200 Message-ID: Subject: Re: [PHP-DEV] Which IDE do you recommend for php-src development? To: PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: tovilo.ilija@gmail.com (Ilija Tovilo) Hi Carlos On Sat, Sep 14, 2024 at 11:44=E2=80=AFPM Barel wr= ote: > > For C/C++ development I usually use CLion from Jetbrains but I tried to u= se 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. Af= ter trying to get it to work unsuccessfully I am ready to try something els= e. > > So which IDE would you recommend for php-src development? I understand th= at 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/