Skip to content
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

Pycharm launch hack #301

Open
donkirkby opened this issue Apr 12, 2021 · 1 comment
Open

Pycharm launch hack #301

donkirkby opened this issue Apr 12, 2021 · 1 comment

Comments

@donkirkby
Copy link
Owner

The fix for #293 was a bit of a hack, where I recreated the Python launcher's command line object. Try to figure out what the difference is between the new one and the old one, possibly by posting in the JetBrains forum.

@donkirkby
Copy link
Owner Author

I checked to see if this was still a problem after the upgrade to the Gradle build, but it is.

Removing the code that copies the command line and putting this in build.gradle.kts makes the live coding display empty:

dependencies {
    intellijPlatform {
        clion("2024.3")

        // "Pythonid" for ultimate, "PythonCore" for community. Find compatible
        // ultimate versions at https://plugins.jetbrains.com/plugin/631
        // community versions at https://plugins.jetbrains.com/plugin/7322
        plugin("PythonCore:243.21565.211")

        instrumentationTools()
        pluginVerifier()
    }
}

Switching it to PyCharm makes it work again, even without copying the command line:

dependencies {
    intellijPlatform {
        pycharmCommunity("2024.3")

        // "Pythonid" for ultimate, "PythonCore" for community. Find compatible
        // ultimate versions at https://plugins.jetbrains.com/plugin/631
        // community versions at https://plugins.jetbrains.com/plugin/7322
        plugin("PythonCore:243.21565.211")

        instrumentationTools()
        pluginVerifier()
    }
}

Bumping this to a future milestone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant