Make variable highlighting aware of scope
- Lingua principale
- Haskell
- Stelle
- 1.3k
- Fork
- 201
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Consider these function definitions:
```haskell
foo(x) = x + 1
bar(x) = x^2 + x + 2
```
If I put the cursor on one of the `x`s in `bar`, we should only highlight the other occurrences of the same variable (i.e., the other `x`s in `bar`), rather than also highlighting variables that happen to have the same name but aren't visible in the current scope (i.e., the `x`s in `foo`).

Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
La issue non indica alcun file, test o punto di ingresso. Riproduci l’esempio Haskell nell’editor, individua l’implementazione dell’evidenziazione delle variabili e verifica che selezionando x in bar vengano evidenziate solo le occorrenze di bar e non quelle di foo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- haskell
- Ambito
- tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100