Inconsistent behavior between TextMateSharp and vs-code
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C#
- Star
- 170
- Fork
- 35
- Merge trung bình
- 2 giờ 52 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của danipen/TextMateSharp
-
XML grammar: only the closing --> of a comment gets the scope comment.block.xmlCó thể đã có người làm @alexeyfala đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
danipen/TextMateSharp#145 · 2 bình luận ·
-
[Breaking]: Visibility of fields/properties/classes does not match upstream tm4e implementationĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
danipen/TextMateSharp#123 · 3 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 44/100
danipen/TextMateSharp#120 · 38 bình luận · 1 reaction ·
-
good first issue
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
danipen/TextMateSharp#119 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
danipen/TextMateSharp#118 · 11 bình luận ·
Tất cả issue của danipen/TextMateSharp
Issue tương tự
-
good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Klyroo/klyroo-dashboard#12 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CONTRIBUTING rules Node out in step 0, then tells client-side contributors to run node --test, which is what CI gates onCó thể đã có người làm @yadavraj2001 đã nhận hôm nay. Đang mởdocumentation good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 82/100
juandresrodca/AdminForge#73 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[辞書] VIVANTĐang mở要トリアージ 辞書
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 94/100
christian-raj/S-Aloha#504 ·
-
Issue: Feature Request Xenonid
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày