Running PyCharm in IDEA Plugin Development Sandbox
I'm trying to run a plugin project with PyCharm as IntelliJ IDEA Plugin SDK, but get the stacktrace below. What i want is to develop a plugin for PyCharm. Am I supposed to be able to run PyCharm this way, or am I doing anything wrong?
java.lang.AssertionError
at com.intellij.ide.plugins.PluginManager.initializePlugins(PluginManager.java:200)
at com.intellij.ide.plugins.PluginManager.getPlugins(PluginManager.java:103)
at com.intellij.openapi.application.impl.ApplicationImpl.e(ApplicationImpl.java:289)
at com.intellij.openapi.application.impl.ApplicationImpl.<init>(ApplicationImpl.java:192)
at com.intellij.openapi.application.ex.ApplicationManagerEx.createApplication(ApplicationManagerEx.java:35)
at com.intellij.idea.IdeaApplication.<init>(IdeaApplication.java:72)
at com.intellij.idea.IdeaUltimateApplication.<init>(IdeaUltimateApplication.java:14)
at com.intellij.idea.MainImpl.a(MainImpl.java:132)
at com.intellij.idea.MainImpl.access$000(MainImpl.java:22)
at com.intellij.idea.MainImpl$2.proceed(MainImpl.java:119)
at com.intellij.ide.a.b.d$1.run(d$1.java:434)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
请先登录再写评论。
Hello Marcus,
You need to add -Didea.platform.prefix=Python to your run configuration.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Even with -Didea.platform.prefix=Python in Program Parameters, I get the same error.
Hello Marcus,
This needs to go into VM Parameters.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"