Crashed in Sublime build 4084
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python, typescript
- Lĩnh vực
- devtools
Hướng nghiên cứu
Bắt đầu trong typescript/libs/popup_formatter.py, đặc biệt là format_css và lệnh gọi style_for_scope của nó từ get_theme_styles. Tái hiện traceback trong Sublime Text build 4084 và xác minh rằng các tooltip thông tin nhanh không còn bị crash với KeyError: 'bold'.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
In the next dev build of sublime got next problem. Is it possible to fix, new Sublime is pretty nice!
Traceback (most recent call last):
File "./python3.3/threading.py", line 901, in _bootstrap_inner
File "./python3.3/threading.py", line 858, in run
File "/Users/max/Library/Application Support/Sublime Text 3/Packages/TypeScript/typescript/libs/node_client.py", line 295, in __reader
if NodeCommClient.read_msg(stream, msgq, asyncReq, proc, eventHandlers):
File "/Users/max/Library/Application Support/Sublime Text 3/Packages/TypeScript/typescript/libs/node_client.py", line 194, in read_msg
callback(data_dict)
File "/Users/max/Library/Application Support/Sublime Text 3/Packages/TypeScript/typescript/commands/quick_info.py", line 148, in <lambda>
cli.service.quick_info_full(self.view.file_name(), get_location_from_position(self.view, display_point), lambda response: self.handle_quick_info(response, display_point))
File "/Users/max/Library/Application Support/Sublime Text 3/Packages/TypeScript/typescript/commands/quick_info.py", line 74, in handle_quick_info
self.show_tooltip_popup(display_point, errors, error_html, info_text, info_str, doc_str)
File "/Users/max/Library/Application Support/Sublime Text 3/Packages/TypeScript/typescript/commands/quick_info.py", line 80, in show_tooltip_popup
theme_styles = get_theme_styles(self.view)
File "/Users/max/Library/Application Support/Sublime Text 3/Packages/TypeScript/typescript/libs/popup_formatter.py", line 26, in get_theme_styles
"type": format_css(view.style_for_scope("entity.name.type.class.ts")),
File "/Users/max/Library/Application Support/Sublime Text 3/Packages/TypeScript/typescript/libs/popup_formatter.py", line 12, in format_css
if (style["bold"]):
KeyError: 'bold'
- Ngôn ngữ chính
- JavaScript
- Star
- 1.7k
- Fork
- 236
- Merge trung bình
- 21 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 1
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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 microsoft/TypeScript-Sublime-Plugin
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
microsoft/TypeScript-Sublime-Plugin#786 · 3 bình luận · 45 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
microsoft/TypeScript-Sublime-Plugin#782 · 1 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
microsoft/TypeScript-Sublime-Plugin#781 · 7 bình luận · 1 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
microsoft/TypeScript-Sublime-Plugin#779 · 1 bình luận ·
Tất cả issue của microsoft/TypeScript-Sublime-Plugin
Issue tương tự
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
babalae/bettergi-scripts-list#3674 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
vadimdemedes/ink#1029 ·
-
code-quality refactoring
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
langchain-ai/deepagents#6450 ·
-
optimization optimization:agents-md-curator
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
githubnext/gh-aw-cao#13143 ·