Closed jeffpeck10x closed 1 year ago
That might be a bug in this plugin. Could you please share a file that causes that problem? If you want, you can do it privately, my e-mail is public. I'd appreciate it if you send a minimal file that still reproduces this problem. I don't have much free time nowadays, so simple repro will massively increase the chance of me fixing it. Thanks!
This is caused by the messy reference-handling implementation of the plugin. Fixing it will require a partial rewrite/refactor of the reference handling code. In particular, getReferenceProxy
needs to go away and elements that actually are references must create the references from themselves, not through the proxy, because IDE asserts that this exact thing does not happen.
Unreliable repro:
attribute highp vec2 aVertPos;
attribute mediump vec3 aVertCol;
varying mediump vec3 vVertCol;
uniform highp mat4 uModelViewProjectionMatrix; // Rename this variable to something else
void main() {
vVertCol = aVertCol;
gl_Position = uModelViewProjectionMatrix * vec4(aVertPos, 0.0, 1.0);
//gl_Position = vec4(aVertPos, 0.0, 1.0);
}
Is there a plan to fix this?
Should be fixed by c0a3b3051ecc6dc909654264113fe6151d5a25b4 and following commits.
Just recently, when I open a project containing a couple relatively small glsl files, PyCharm slows down and my laptop fans turn on.
I just updated to the latest PyCharm:
info.txt:
stacktrace.txt:
I am not clear on whether it is the plugin or a PyCharm bug, but PyCharm only reports the above error when the plugin is present. (It seems like the high CPU still happened when the plugin was disabled, although it might have just been that the fans were still running from before.)