You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This one is easy to fix. You check python pluginid in PythonResolver.detectPython:
if (PYTHON_ID.equals(pluginId)) {
return true;
}
and
private static final String PYTHON_ID = "Pythonid";
but this is correct for ultimate only. For community python pluginid is PythonCore. I believe if you allow this too your plugin should work fine in community edition.
BTW, should you really check the pluginid? Maybe trial and error method is OK? There are some instanceof checks for PyFile, PyClass, etc...
The text was updated successfully, but these errors were encountered:
ovkhasch
changed the title
Content assist doesn't work with intellij community edition.
Python libraries won't be resolved in intellij community edition.
Jun 24, 2014
I was not aware of pythoncore. that is indeed an easy fix.
I spent a while looking for what the right way to figure this out is. i coundlt find anything and this worked. All the instanceof checks for those classes are safe because of the way java handles null at runtime. Wrapping a try/catch sounded risker to me as i was not sure.
This one is easy to fix. You check python pluginid in PythonResolver.detectPython:
and
but this is correct for ultimate only. For community python pluginid is
PythonCore
. I believe if you allow this too your plugin should work fine in community edition.BTW, should you really check the pluginid? Maybe trial and error method is OK? There are some instanceof checks for PyFile, PyClass, etc...
The text was updated successfully, but these errors were encountered: