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

Cursor.spelling is not working incase of the CursorKind is BINARY_OPERATOR #64

Open
Romisajad opened this issue Oct 19, 2023 · 1 comment
Labels
question Further information is requested

Comments

@Romisajad
Copy link

Romisajad commented Oct 19, 2023

When the cursor is pointing to any Binary Operator for example like ( + or = ).
The spelling property of the Cursor class is not working.
It is not returning the Operator. As you can see in the following screenshots that i have tried to printout the cursor.spelling but for that it returns nothing and the numbers are the location line number.
I have provided the code and the output of the problem.
code
code1

@sighingnow
Copy link
Owner

It is a known limitation of libclang itself.

@sighingnow sighingnow added the question Further information is requested label Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants