Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intellij: Cannot distinguish StubFileElementTypes #1021

Open
FOXimir opened this issue Jan 4, 2024 · 0 comments
Open

intellij: Cannot distinguish StubFileElementTypes #1021

FOXimir opened this issue Jan 4, 2024 · 0 comments
Labels
bug Something isn't working robotframework-ls

Comments

@FOXimir
Copy link

FOXimir commented Jan 4, 2024

Hi could you please check this error?
Error is visible after starting Pycharm and editing code.
Few minutes later (40-120), plugin starts highlight incorrectly, linting stop working and whole plugin is unusable.
In order to use plugin again I have to close and reopen Pycharm then I have another 40-120 minutes for my work.

Similar issue described here

Full logs attached in Logs.zip
stacktrace.txt:

com.intellij.diagnostic.PluginException: Cannot distinguish StubFileElementTypes. This might worsen the performance. Providing unique externalId or adding a distinctive debugName when instantiating StubFileElementTypes can help (override getExternalId() and/or getDebugName() in StubFileElementType). See attachment for additional information. [Plugin: robocorp.lsp.intellij]
	at com.intellij.psi.stubs.PerFileElementTypeStubModificationTracker.reportStubFileElementTypeVersionConflict(PerFileElementTypeStubModificationTracker.java:281)

To Reproduce
Steps to reproduce the behavior:

  1. Open robot file
  2. Start editing file

Expected behavior
Extension is working without errors and issues.

Versions:

  • OS: Windows 10 22H2
  • Robot Framework Version: 6.0.2
  • Robot Framework Language Server Version: 1.11.0
  • Client Version: PyCharm 2023.3.2, but also on few previous version

Logs
Logs.zip

@FOXimir FOXimir added bug Something isn't working robotframework-ls labels Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working robotframework-ls
Projects
None yet
Development

No branches or pull requests

1 participant