-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Strangely placed declaration highlighting for fields #233
Comments
@lancelote |
@lancelote pydantic-pycharm-plugin/src/com/koxudaxi/pydantic/PydanticFieldSearchExecutor.kt Lines 37 to 40 in b3e3277
These lines work to register a field. But, It marks a strangely placed declaration highlighting. I read the related source code of PyCharm. But, I don't understand the reason :( If JetBrains members help me with this problem, then I'm happy. |
@lancelote Thank you very much!! |
@koxudaxi No worries, my bad actually for not assisting you with the fix. |
Describe the bug
In some cases when the caret is placed on some instance attributes a strange background highlighting appears. Disabling the plugin resolves the problem.
To Reproduce
Consider the following structure
... with
location.py
... and
sample.py
Place caret on the last line in
sample.py
onstate
. Some strange background highlighting over lines 5-7 appears.Expected behavior
I would expect either no highlighting in imports.
Screenshots
Environments
The text was updated successfully, but these errors were encountered: