sublime text3 語法錯誤檢查 - Linux

Table of Contents

小弟由於課業上的需求,開始在ubuntu14.04下使用sublime text 3
寫C++。

後來參照
http://goo.gl/48NER2的教學依序做了

1.apt install cppcheck

2.sublimeLinter 的 package

3.sublimeLinter-cppcheck 的package

同時也在ST3裡面enable了cppcheck、linter

但是在測試漏寫分號時卻沒有highlight出來

Google大部分的教學都是Windows的配置
要另外設定path

which cppcheck 會得到
/usr/bin/cppcheck

但我不知道是否該設定路徑,以及如何設定

想求助板上有用過ST3偵測語法錯誤相關插件的前輩們QQ

--

All Comments

Xanthe avatarXanthe2016-09-08
感覺用eclipse比較省事也支援度更高
Lydia avatarLydia2016-09-11
可以去編輯器板問看看
Quintina avatarQuintina2016-09-14
打指令 lint this view看看