@import url(http://www.aygfsteel.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
@import url(http://www.aygfsteel.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
eclipse官方是有標(biāo)準(zhǔn)的mac版下載的,隨便copy到一個目錄就可以直接啟動了(當(dāng)然必須安裝java運行環(huán)境)。但是,假如我們想把應(yīng)用放到mac的標(biāo)準(zhǔn)目錄下(也就是finder里的應(yīng)用程序目錄下),就必須自己手動來做了,方法如下:
1.在finder下,copy eclipse目錄下的Eclipse.app(在finder里是看不到app這個后綴名的,必須用Command+i,才能看到這個后綴名)文件到“應(yīng)用程序”
2.然后,點擊右鍵,選擇“顯示包內(nèi)容”
3.修改eclipse.ini文件
修改文件的開頭部分
原始內(nèi)容為:
-startup ../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library ../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20130521-0416
修改后的內(nèi)容為:
-startup /Users/johnny/work/eclipse/plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar--launcher.library /Users/johnny/work/eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20130521-0416
我mac的用戶名johnny,在我的用戶名下有個work目錄,我把eclipse的原始目錄放在work下面。
這樣就可以在“應(yīng)用程序”下,啟動eclipse了
@import url(http://www.aygfsteel.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);