Open Lhfcws opened 2 years ago
I fix it on #18 .
You can update it from here: https://github.com/sxp/mqlidea/releases/tag/v211.1.0-sxp-bugfix
I fix it on #18 .
You can update it from here: https://github.com/sxp/mqlidea/releases/tag/v211.1.0-sxp-bugfix
Thank you! Although syntax highlight of .mqh still doesn't work somehow, no error stacktrace alert anymore!
Thank you, the plugin can support Pycharm, clion, intellij at 2023.2 version. Code insight works, but new error occur when adding new 'MQL Build' configuration, (cannot add config)
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'field' of com/intellij/execution/configuration/BrowseModuleValueActionListener.setField must not be null
at com.intellij.execution.configuration.BrowseModuleValueActionListener.$$$reportNull$$$0(BrowseModuleValueActionListener.java)
at com.intellij.execution.configuration.BrowseModuleValueActionListener.setField(BrowseModuleValueActionListener.java)
at ru.investflow.mql.runconfig.ui.MQL4CompilerRunnerEditor.
I both tested mqlidea(211.1.0) in IDEA and PyCharm.
1. IDEA mqh file identification issue
In IDEA, highlight feature in
mq4
file looks fine, while it seems to be incapable to identifymqh
files (no hightlight, no navigation, just like nothing activated).However, mqh identification looks fine in PyCharm.
2. An IDE stacktrace reported
Everytime I start IDEA or PyCharm, an IDE error report is always popped up. Click it and find it with a stacktrace as below. I’m not familiar with Intellij plugin codes, so I'm not sure if it is important or it has something to do with the first problem I proposed above.
Thank you for the mqlidea project. A great work for mql devs.
IntelliJ IDEA 2021.2.4 (Ultimate Edition) Build #IU-212.5712.43, built on December 21, 2021 Licensed to Lhfcws Wu Subscription is active until June 15, 2022. Runtime version: 11.0.13+8-b1504.49 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 11.5.2 GC: ParNew, ConcurrentMarkSweep Memory: 2014M Cores: 4 Non-Bundled Plugins: Pythonid (212.5712.43), ru.investflow.mql (211.1.0) Kotlin: 212-1.6.10-release-923-IJ5457.46
PyCharm 2021.2.4 (Professional Edition) Build #PY-212.5712.39, built on December 21, 2021 Licensed to Lhfcws Wu Subscription is active until June 15, 2022. Runtime version: 11.0.13+8-b1504.49 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 11.5.2 GC: ParNew, ConcurrentMarkSweep Memory: 2014M Cores: 4 Non-Bundled Plugins: com.mallowigi.imageicon (10.0.0), ru.investflow.mql (211.1.0), com.jetbrains.intellij.datalore (0.1.14-212)