[Breaking]: Visibility of fields/properties/classes does not match upstream tm4e implementation
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Read the listed classes in TextMateSharp’s .internal.grammar namespace and compare their visibility and sealing with the linked upstream StateStack.java implementation. The issue names AttributedScopeStack, BalancedBracketSelectors, BasicScopeAttributes, BasicScopeAttributesProvider, Grammar, LineTokenizer, LineTokens, TokenTypeMatcher, and TokenizeLineResult; check for related discrepancies elsewhere as scope allows. Done means the identified classes match upstream visibility and sealing, with any additional discrepancies assessed.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
[!warning]
Breaking API change
I'm working on fixing this now as we discussed here. I'm creating this issue to document the changes here.
[!Note]
I didn't examine other folders/files for similar discrepancies so there may be other changes needed.
The upstream java implementation declares StateStack (and some other classes in the .internal.grammar package as final (sealed in .NET). So if you wanted to have parity with the upstream impl, we should include a breaking change by declaring these classes as sealed. Also, notice it's in the .internal.grammar package, suggesting it's not meant for public extension anyways. Implementers could still implement IStateStack if desired.
Here is a list of upstream differences I found - I only looked in this folder/namespace. So, there may also be others:
| class name | sealed/unsealed (has parity with TextMateSharp) | class visibility (has parity with TextMateSharp) |
|---|---|---|
AttributedScopeStack |
sealed ❌ | internal ❌ |
BalancedBracketSelectors |
sealed ❌ | public ✅ |
BasicScopeAttributes |
sealed ❌ | internal ❌ |
BasicScopeAttributesProvider |
sealed ❌ | internal ❌ |
Grammar |
sealed ❌ | public ✅ |
LineTokenizer |
sealed ❌ | internal ❌ |
LineTokens |
sealed ❌ | internal ❌ |
TokenTypeMatcher |
sealed ❌ | internal ✅ |
TokenizeLineResult |
sealed ❌ | internal ❌ |
- Lingua principale
- C#
- Stelle
- 170
- Fork
- 35
- Merge medio
- 2h 52m
- PR unite (30g)
- 1
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di danipen/TextMateSharp
-
XML grammar: only the closing --> of a comment gets the scope comment.block.xmlForse già presa @alexeyfala l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
danipen/TextMateSharp#145 · 2 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 44/100
danipen/TextMateSharp#120 · 38 commenti · 1 reazione ·
-
good first issue
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
danipen/TextMateSharp#119 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
danipen/TextMateSharp#118 · 11 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
danipen/TextMateSharp#75 · 2 commenti ·
Tutte le issue di danipen/TextMateSharp
Issue simili
-
good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
Klyroo/klyroo-dashboard#12 ·
I maintainer di solito rispondono entro 1 giorno
-
CONTRIBUTING rules Node out in step 0, then tells client-side contributors to run node --test, which is what CI gates onForse già presa @yadavraj2001 l’ha presa oggi. Apertadocumentation good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
juandresrodca/AdminForge#73 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[辞書] VIVANTAperta要トリアージ 辞書
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 94/100
christian-raj/S-Aloha#504 ·
-
Issue: Feature Request Xenonid
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno