Eclipse Install JSHint

Eclipse Install JSHint

JSHint 是一個community-driven工具,用來檢查JavaScript代碼中的錯誤和潛在的問題,規範編碼風格,確保代碼質量。

安裝方法

1
2
3
1.Eclipse主選單 -> Help -> Install New Software
2.在Work with -> http://github.eclipsesource.com/jshint-eclipse/updates/
3.Name -> 將JSHint打勾

更新方法

1
2
如果已經安装了,就可以進行更新:
Eclipse主選單 -> Help -> Check for Updates

卸載方法

1
2
Eclipse主選單 -> Help -> About Eclipse -> Installation Details
choose JSHint Eclipse Integration -> Uninstall

開啟功能

1
Eclipse主選單 -> Window -> Show View -> Markers