intellij-micropython icon indicating copy to clipboard operation
intellij-micropython copied to clipboard

Pycharm 241 Support + Repl fix

Open benno1237 opened this issue 1 year ago • 6 comments

The only version compatible with Pycharm 2024 is 1.40 which has broken REPL.

Turns out, version 1.43 of the plugin compiles just fine for build 241 and higher. So anyone facing the same issue as I did, you can just clone the files, change the build number and you are good to go (I have no issue if that breaks anything else but upload and REPL is working fine so far for me).

Or, if you trust random dudes from the internet (which I wouldn't), here is a precompiled version of intellij-micropython v 1.43 for Pycharm 2024: intellij-micropython-SNAPSHOT.zip Follow this link for install instructions of local plugins: https://www.jetbrains.com/help/pycharm/managing-plugins.html

benno1237 avatar May 22 '24 08:05 benno1237

Hi Benno.

I've installed your compiled version but the REPL is still broken (Shows "=== SESSION HAS BEEN INTERRUPTED ==="). I'm on Pycharm 2024.1.2. I know this is not a lot of information, but do you think you could help me to get it going? Thanks!

ashirvadz avatar Jun 02 '24 15:06 ashirvadz

I get the same thing sometimes but hitting 'restart' a few times always fixes it. See if it does the same for you. Otherwise I would highly recommend compiling it yourself.

benno1237 avatar Jun 02 '24 15:06 benno1237

Thank you for the comment. I found the problem, which was a space after the device's address on the settings pane. The plugin is working now!

ashirvadz avatar Jun 02 '24 15:06 ashirvadz

Glad to hear that!

benno1237 avatar Jun 02 '24 15:06 benno1237

Seconded, I've also done this before reading this post, and it's worked for me too. If you get the keyboard interrupt, you can just run the code you want directly from the repl, not ideal, but does work.

GrumpyMetalGuy avatar Jun 06 '24 19:06 GrumpyMetalGuy

Could someone from JetBrains please handle this issue and give us a proper fix? This is an ongoing problem for quite a while now, and it's hard to believe this issue hasn't been fixed yet.

lenineto avatar Jun 20 '24 07:06 lenineto

Should be fixed now with PyCharm 2024.1.4 + plugin 1.4.4.

lancelote avatar Jul 13 '24 14:07 lancelote

Great! Thank you @lancelote!

ashirvadz avatar Jul 13 '24 16:07 ashirvadz