Inconsistent behavior between TextMateSharp and vs-code
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start by examining the supplied ascent.tmLanguage.json grammar and the TextMateSharp code path that applies it; the issue does not name a source file or test. Compare the scopes and colors produced for the reproduction snippet with VS Code, then use the mismatch to locate the relevant behavior. Done means the same grammar produces matching scopes and colors; the issue reports no follow-up resolution after its initial comments.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
A clear and concise description of what the bug is.
The exact same syntax grammar in vscode does not produce the same output in TextMateSharp.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Use the provided grammar file with the code
namespace Test;
using UnityEngine.*;
import testVector3 -> Vector3;
import object -> Component;
function Update()
{
/*
let x = 5 + 5;
let b = x;
*/
object.text = "hi";
}
Expected behavior
A clear and concise description of what you expected to happen.
I expected the colors and scopes shown to be the same.
Screenshots
If applicable, add screenshots to help explain your problem.
VSCode:
My code:
Desktop (please complete the following information):
- OS: Windows
- Version 11
Additional context
Add any other context about the problem here.
This is shoved into unity and then converted into highlighting with rich text tags.
- 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 ·
-
[Breaking]: Visibility of fields/properties/classes does not match upstream tm4e implementationAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
danipen/TextMateSharp#123 · 3 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 ·
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