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
103 stars 167 forks source link

Scope highlighting confused by indentation #2981

Open martin-henz opened 6 months ago

martin-henz commented 6 months 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