3
我剛剛花了最後一小時通過Atom論壇尋找答案。有沒有人知道它呢?Atom編輯器,設置erb文件的默認語法:通過HTML的HTML(Rails)(Ruby-erb)
我剛剛花了最後一小時通過Atom論壇尋找答案。有沒有人知道它呢?Atom編輯器,設置erb文件的默認語法:通過HTML的HTML(Rails)(Ruby-erb)
core:
customFileTypes:
"text.html.ruby": [
"erb"
]
將上述添加到config.cson並重新啓動atom。
我還沒有看到這樣的軟件包。 作爲臨時解決方案,您可以嘗試使用'set-syntax'軟件包。有了這個包,你可以輕鬆地用一個快捷方式改變語法。 – Evmorov 2015-05-29 20:42:26