JetBrains / intellij-micropython

Plugin for MicroPython devices in PyCharm and IntelliJ
https://plugins.jetbrains.com/plugin/9777-micropython
Apache License 2.0
506 stars 106 forks source link

Add Metro M4 Airlift Lite support #254

Closed lancelote closed 11 months ago

lancelote commented 11 months ago

Fix #251

Elizaveta239 commented 11 months ago

@PierreDeQuebec Thank you very much for suggested fix! @lancelote Thank you for submitting the pull request!

PierreDeQuebec commented 11 months ago

Just to mention that changing usbIds to include Adafruit with all the other changes doesn't work if I install the latest version of the plugin. The issue appears to be related to overriding import org.jetbrains.plugins.terminal.TerminalProcessOptions in MicroPythonReplManager.kt. For me the plugin works by keeping org.jetbrains.plugins.terminal.TerminalProcessOptions.

lancelote commented 11 months ago

@PierreDeQuebec Which IDE version do you use?

PierreDeQuebec commented 11 months ago

@lancelote IntelliJ IDEA 2023.2.3 (Ultimate Edition) Build #IU-232.10072.27, built on October 11, 2023 Licensed to Pierre Lepage Subscription is active until xxx. Runtime version: 17.0.8.1+7-b1000.32 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Linux 6.2.0-34-generic GC: G1 Young Generation, G1 Old Generation Memory: 4000M Cores: 4 Registry: debugger.new.tool.window.layout=true debugger.valueTooltipAutoShowOnSelection=true ide.experimental.ui=true

Non-Bundled Plugins: org.jetbrains.intellij.scripting-python (1.2) Pip requirements info bubble (0.0.1) org.jetbrains.plugins.rest (232.8660.88) me.lensvol.blackconnect (0.6.1) net.seesharpsoft.intellij.plugins.csv (3.2.1-232) com.intellij.ml.llm (232.9826) Pythonid (232.10072.27) nl.jusx.pycharm.lineprofiler (1.7.0) ru.meanmail.plugin.requirements (2022.4.1) cms.rendner.intellij.py-styled-dataframe-viewer (0.11.0) intellij-micropython (1.4.2-2023.2) com.pythondce (0.4.2) org.tonybaloney.security.pycharm-security (1.29.0) org.sonarlint.idea (9.1.0.75538)

Kotlin: 232-1.9.0-IJ10072.27 Current Desktop: KDE