source-academy / frontend

Frontend of Source Academy, an online experiential environment for computational thinking (React, Redux, Saga, Blueprint)
https://sourceacademy.org
Apache License 2.0
101 stars 164 forks source link

Scope highlighting confused by indentation #2981

Open martin-henz opened 1 month ago

martin-henz commented 1 month ago

Background:

CTRL + SHIFT + H (Mac: COMMAND + SHIFT + H): Highlight scope of name declaration under cursor

The highlighting aparently gets confused by indentation:

Correct:

Screenshot 2024-05-03 at 2 30 10 PM

Wrong:

Screenshot 2024-05-03 at 2 30 41 PM

Wrong:

Screenshot 2024-05-03 at 2 30 10 PM