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

Migrate LineMarker target to leaf elements to fix performance warning / error #1122

Closed
Haehnchen opened this issue Dec 22, 2017 · 0 comments
Closed

Comments

@Haehnchen
Copy link
Owner

For PhpStorm 2017.3.x LineMarker must be attached to leaf elements see description https://github.com/JetBrains/intellij-community/blob/master/platform/lang-api/src/com/intellij/codeInsight/daemon/LineMarkerProvider.java#L31 for the why.

[junit] ERROR: Performance warning: LineMarker is supposed to be registered for leaf elements only, but got: Class method (class com.jetbrains.php.lang.psi.elements.impl.MethodImpl) instead. First child: Modifier list (class com.jetbrains.php.lang.psi.elements.impl.PhpModifierListImpl)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant