我正在使用python-mode語法突出顯示。除了突出顯示docstrings之外,一切都很好,這使得很難在github存儲庫中讀取具有復(fù)雜docstrings的代碼。這里是一個例子:class DoubleQuotesDocString: """ This is a doc string but inside double quotes " the highlinting breaks: in for type while " so this is a bug """class SingleQuotesDocString: ''' This is a doc string but inside single quotes ' the highlinting breaks: in for type while ' so this is a bug'''以及相應(yīng)的屏幕快照,在該屏幕快照中您沒有看到它正確地突出顯示:當(dāng)然,這是一個簡單的例子。充滿了此類突出顯示錯誤的復(fù)雜文檔字符串是完全不可讀的。有解決方案嗎?
添加回答
舉報
0/150
提交
取消