Ability to colorize imports?
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
- Issue 類型
- 功能
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- javascript, python, vscode
研究方向
未指定檔案、測試或進入點。在使用 Dark+ 主題的 VSCode 1.49.0 中重現所提供的匯入範例,然後追蹤 MagicPython 如何將匯入的類別標記化;完成這項工作需要明確決定是否支援這種語法醒目提示,若支援,則需要為所示程式碼取得經過驗證的結果。
由索引模型根據 Issue 內容生成。
描述
-
Editor name and version: VSCode 1.49.0
-
Platform: Windows 10
-
Color scheme: Dark+
-
MagicPython version: Installed via Python extension v2020.8.108011
-
A sreenshot:

-
5-10 lines of surrounding code:
from django.utils import timezone
from django.views import generic
from .models import Question, Choice
class IndexView(generic.ListView):
template_name = 'polls/index.html'
context_object_name = 'latest_questions'
def get_queryset(self):
return Question.active_objects.all().order_by('-pub_date')[:5]
class DetailView(generic.DetailView):
model = Question
template_name = 'polls/detail.html'
class ResultsView(generic.DetailView):
model = Question
template_name = 'polls/results.html
Just as the above code snippet does, is it possible to colorize class imports in VSCode?
I've tried searching the web for an answer on this topic but couldn't find one; I'm submitting an issue here in hopes of someone either telling me that this is intended but not working, or that this is not supported.
Thanks for any info!
- 主要語言
- JavaScript
- 星號
- 1.4k
- 分支
- 98
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
MagicStack/MagicPython 的其他 Issue
-
難度 3/5 1-2 天 新手友好度 58/100
MagicStack/MagicPython#275 · 1 個 reaction ·
-
難度 3/5 1-2 天 新手友好度 48/100
MagicStack/MagicPython#273 · 7 個 reaction ·
-
難度 4/5 3-5 天 新手友好度 25/100
MagicStack/MagicPython#269 ·
-
難度 3/5 1-2 天 新手友好度 42/100
MagicStack/MagicPython#267 ·
-
難度 3/5 1-2 天 新手友好度 42/100
MagicStack/MagicPython#265 · 2 則留言 ·
查看 MagicStack/MagicPython 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 75/100
Seeed-Studio/wiki-documents#5655 · 2 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 88/100
-
Edit: CW+ 未關閉channels:edit check:passed
難度 2/5 1-3 小時 新手友好度 68/100
-
01 type: bug 30 needs: triage 99 tag: UX Accessibility
難度 2/5 1-3 小時 新手友好度 82/100
-
documentation
難度 2/5 1-3 小時 新手友好度 86/100
quarto-dev/quarto-cli#14915 ·