安裝Spket插件到Eclipse

 Please install the Spket plugin as follows in Spring Tool Suite when you want to write jQuery (自動補全,語法高亮)java

 

(1)      Use link 方式 to install the spket plugin under \\192.168.0.238\Canton\Software\Eclipse_Plugins jquery

 

(2)      In preference ->Spket->Javascript Profiles ,create a profile  as follows: ide


 

(3)    Then add the jQuery library when you click 「Add Library」 button on the rightui


 

(4)    Then choose the jquery.js from your local disk as follows:spa


 

(5)    Set the File Association ,you choose  「*.js」 ,then bind with  「Spket JavaScript Editor」 and set it to default.
orm

 

(6)    Then ,you can use the auto complete function in your java script source file as follows:
blog

 

 

相關文章
相關標籤/搜索