我正在學習Ruby,我使用的是Sublime Text 3,但我發現語法高亮顯得很奇怪。崇高的文字3難看的語法高亮
例如:
即使設置語法紅寶石後。
我想知道這是正常的,或者我需要改變某些事情上的用戶 設置或類似的東西。
我正在學習Ruby,我使用的是Sublime Text 3,但我發現語法高亮顯得很奇怪。崇高的文字3難看的語法高亮
例如:
即使設置語法紅寶石後。
我想知道這是正常的,或者我需要改變某些事情上的用戶 設置或類似的東西。
Ruby的語法文件(Ruby.sublime-syntax
)包含未解決問題的列表。其中有:
text:
"p << end
print me!
end"
symptoms:
not recognized as a heredoc
solution:
there is no way to distinguish perfectly between the << operator and the start
of a heredoc. Currently, we require assignment to recognize a heredoc. More
refinement is possible.
• Heredocs with indented terminators (<<-) are always distinguishable, however.
• Nested heredocs are not really supportable at present
所以是的,這是正常的。
您可以參觀https://packagecontrol.io/和使用類似Railscast配色方案
自帶W上的基本語法高亮/崇高是相當稀疏 - 這些包裝通常會做的更好。這也只是一個例子。有很多主題和配色方案。
要根據你的崇高版本從這個頁面https://packagecontrol.io/installation#st3
的片段安裝包控制ctrl+
和過去