-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatible with PhpStorm 2024.1 #307
Comments
The reason is the declaration of File PhpStorm 2024.1 is I don't know if modifying only that variable solves the problem. |
@nico-loeber Hi, can you please release the version for the latest phpstorm. THanks |
Please release! |
@nico-loeber Please approve and merge the PR to fix this issue. Or if you don't have the time, please give other people from the community the right to merge PRs. There are many people who rely on this plugin. |
Hey, |
I would support you, but my Java experience is a little bit rusted. |
Sadly updating the plugin is not just to increase the versions. You always have to check for deprecated API uses and changed behavior. Sadly it is quite hard to work with the Beta releases in my opinion, as my build pipeline does not support that well yet. |
I'm interested. My attempt to just update the versions was an early step to be able to continue, I was doing local tests, but it would take me a long time due to my little knowledge, sorry. I'm really interested in knowing the right way to do it. 😄 |
@Aneida please mail me at [email protected], so we can exchange contact information, thanks! |
To keep you updated: Current problem is a change in behavior of the IntelliJ Platform. All calls to cli binaries that happen in the background (used for ddev and docker binaries) cause the following error:
This is new and I don't find any documentation on that change yet. If someone has an idea, please let me know. |
Todo list to for 2024.1 compatibility:
Sadly I will be unavailable until friday. If you think you can fix any of these issues, please provide a pull request. |
I see that PhpStorm 2024.1.1 has been released, I thought that might have some impact, but I'm not successful. |
Oh, I see, 1.2.1 is for PhpStorm 2024 |
Hi @rfay . The version 1.2.1 is for versions 2023.* . There is not any yet release for versions 2024.* 😞 |
Thanks. I know there's not a working version for PhpStorm 2024, but the versions page clearly shows 1.2.1 (and 1.2.0) as being for 2024. |
I think that version is based on the release date. The important thing is the compatibility range column. I don't see any explicit mention of the '2024' version in the code for those releases. Anyway, I see the following from 2024.1.1: without possibility of installing even in 2024. It is expected that version 2024.2 will fix the bug mentioned in issue #313 |
A thought just hit me: Would it make sense to move most of the logic out of the plugin and into DDEV itself? That way, when an update causes trouble, we could still manually call the logic via the CLI. I would assume most of what the plugin does will reflect in changes to the files in the .idea directory in my project. |
Hey @shochdoerfer, Still waiting for the plugin verifier to be fixed as it does currently block the release workflow. |
By the way, as long as I can not release the new version, you can just download the latest build. |
@nico-loeber thx, the latest build works fine! Can happily use DDEV again in my IDE :) |
@nico-loeber would you be willing to do a release with that binary so that people could use the release from GitHub? |
One note, the installation procedure seems to be:
This comes in as v0.0.1 of course, but it does install. |
@rfay I published it as a pre release as I am not able to publish this one to the store. |
Thanks @nico-loeber ! Could you please add installation instructions to the release? Thanks! |
Sadly the pipeline does not update the release with the build artifacts as the publish task fails... I hope jetbrains fix their plugin verifier until I am back from Japan (1 week) so I can finally release a new version. -.- Please let me know if I should add anything to the release notes @rfay. |
Thanks for the manual edit! |
This comment was marked as resolved.
This comment was marked as resolved.
I add step by step in windows 11 and PhpStorm 2024.1.1 StepsStep 1: Download and uncompressThe name of file is Step 2: Install the plugin- Open PhpStorm and go to plugins and "install Plugin from Disk" |
In my example everything seems to be going well, however the IDE throws me some silent errors They are identified in issues but I also leave evidence here: Error 1
Error 2
Error 3
--- Error at Configure Error 4
Error 5 - 6 - 7 - 8
|
Well thanks @Cheoooon I've learned a quirk about Mac Archive Utility. Without your comment above I'm not sure how else I'd have been able to see this behaviour, there is nothing to indicate the .zip inside the .zip.... If you double click the artefact, it expands the zip you clicked AND the one inside, so you're left with a folder. If you use a different archive tool, like The Unarchiver, it doesn't do the double extraction, and you're left with a .zip which is installable. |
I updated my comment above to use this technique, thanks for the explanation all! I had in fact uncompressed using the finder. My new technique, which results in a working plugin:
This comes in as v0.0.1 of course, but it does install. @nico-loeber could you please update the instructions in the release notes? Also, just adding the ddev-intellij-plugin.zip there as an artifact would make this process simpler. |
At this point i think it's maybe easier to just configure your project by hand as mentioned in the docs. https://ddev.readthedocs.io/en/stable/users/install/phpstorm/ Installing a dev version by hand, uncompressing with the cli and stuff doesn't seem to be worth the hassle, if you're not starting new projects every day. You only got to set it up once for a project. |
@GBeushausen the plug-in also configures the database connection, which has a dynamic port that's different each time, so it's useful even for only one project. |
@hockdudu No, that's not a problem at all, as you can just uncomment a line in the ddev config file to set the db port to a specific value. Like so: |
PhpStorm just informed me that the 2024.1.2 update is available. Once installed, you can download the DDEV plugin from the plugin marketplace again. |
Thank you, @shochdoerfer. With 2024.1.2, visiting the plugin list, I can see DDE Integration at version 1.2.3. I think this is all we need. Can we close this issue as resolved? |
@claudiu-cristea if you also works for you, then I would say, yes close the issue. |
Is there an existing issue for this?
Are you sure that this bug is related to this DDEV Integration Plugin?
Enter your error report ID (If available)
No response
Describe the bug
After upgrading to PhpStorm 2024.1 I'm getting this message:
Steps to reproduce
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: