分享Java常用開(kāi)發(fā)編輯器工具
1.editplus
1.1 官方下載
https://www.editplus.com/
官方下載最新的64位
2 .解壓就可以使用
2.1 vscode
vscode是微軟推出的免費(fèi),開(kāi)源的代碼編輯器工具
2.2下載
2.3 解壓建立data
在程序目錄中,建立一個(gè)data目錄
2.4軟件常用配置方式settings.json
{ ? ? "window.zoomLevel": 0, ? ? "workbench.iconTheme": "vscode-icons", ? ? "workbench.startupEditor": "newUntitledFile", ? ? "window.menuBarVisibility": "toggle", ? ? "workbench.activityBar.visible": true, ? ? "editor.fontFamily": "Consolas, 'Courier New', monospace", ? ? "editor.fontSize": 18, ? ? "editor.lineHeight": 25, ? ? "editor.lineNumbers": "on", ? ? "editor.mouseWheelZoom": true, ? ? "editor.renderLineHighlight":"all", ? ? "files.autoSave": "afterDelay", ? ? "liveServer.settings.donotShowInfoMsg": true, ? ? "vsicons.dontShowNewVersionMessage": true, ? ? "breadcrumbs.enabled": true, ? ? "editor.minimap.enabled": false, ? ? "workbench.colorCustomizations": { ? ? ? ? //"editorLineNumber.foreground": "#17a346", ? ? ? ? //"editorGutter.background": "#02023011", ? ? ? ? //"editorCursor.foreground": "#d41313", ? ? ? ? //"editor.background": "#eeeeee00", ? ? ? ? "editor.lineHighlightBackground": "#2f5ad109", ? ? ? ? "editor.lineHighlightBorder": "#ced4d000" ? ? }, ? ? "emmet.variables": { ? ? ? ? "lang":"zh-CN", ? ? ? ? "charset": "utf-8" ? ? }, ? ? "[html]": { ? ? ? ? "editor.defaultFormatter": "vscode.html-language-features" ? ? }, ? ? "diffEditor.renderSideBySide": true, ? ? "workbench.statusBar.visible": true, ? ? "liveServer.settings.host": "localhost", ? ? "liveServer.settings.port": 80, ? ? "liveServer.settings.AdvanceCustomBrowserCmdLine": "", ? ? "editor.suggestSelection": "first", ? ? "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", ? ? "files.exclude": { ? ? ? ? "**/.classpath": true, ? ? ? ? "**/.project": true, ? ? ? ? "**/.settings": true, ? ? ? ? "**/.factorypath": true ? ? }, ? ? "vscodeGoogleTranslate.preferredLanguage": "Catalan", ? ? "diffEditor.ignoreTrimWhitespace": false, ? ? "open-in-browser.default": "D:\\Program Files (x86)\\chrome\\chrome.exe", ? ? "open-php-html-js-in-browser.customBrowserPath": "D:\\Program Files\\chrome\\chrome.exe", ? ? "settingsSync.ignoredExtensions": [ ? ?? ? ? ], ? ?? }
2.5vscode使用說(shuō)明及快捷方式
vscode version 1.51.0 Readme
- 1)配置啟動(dòng)方式,設(shè)置擴(kuò)展配置本地化 .vscode .code
- 桌面快捷方式啟動(dòng)參數(shù) vsc\Code.exe --extensions-dir .vscode --user-data-dir .code
- 也可以不使用快捷方式,直接建立一個(gè)data目錄也可以。
- 2)設(shè)置軟件中文 英文,先安裝擴(kuò)展Chinese(Simplified) 插件
- 按下ctrl + shift + p 命令面板 輸入config display language 點(diǎn)擊可以選擇en 也可以選擇zh-CN 也可以下載其它語(yǔ)言
- 3)修改emmet本地模板文件語(yǔ)言及文檔標(biāo)題 lang="zh-CN" <title>Document</title>
- 打開(kāi)vsc/resources/app/extensions/emmet/dist/node/emmetNodeMain.js 文件
- 1:Document 1:http://example.com lang:"en",locale:"en-US",charset:"UTF-8" 大約5657行l(wèi)ang=zh,大約5097行設(shè)置設(shè)置網(wǎng)頁(yè)標(biāo)題
- 4)snippets 代碼段提示 輸入按下tab鍵,代碼段文件位置vsc/.code/User/snippets/wyl.code-snippets
- 5)常用快捷鍵
常用快捷鍵:
- ctrl+shift+w 關(guān)閉所有打開(kāi)的文檔窗口(默認(rèn)不是自己設(shè)定的)
- alt+/ 代碼提示快捷鍵(默認(rèn)是ctrl+space)
- ctrl+x 剪切當(dāng)前行
- ctrl+shift+k 刪除當(dāng)前行
- alt+shift+up(down) 向上復(fù)制代碼行
- alt+up(down) 向上移動(dòng)代碼行
- ctrl++ 窗口增大
- ctrl+- 窗口縮小
- ctrl+0(數(shù)字鍵盤(pán)) 窗口恢復(fù)默認(rèn)
- ctrl + mouseWheelZoom 設(shè)置編輯器字號(hào)大小寫(xiě)(settings.json 配置"editor.mouseWheelZoom": true)
- ctrl+/ 注釋取消注釋當(dāng)前行
- alt+shift+a 塊注釋
- alt 設(shè)置快捷鍵為ctrl+shift+alt+f1 臨時(shí)顯示菜單
- alt+shift+f 格式化文檔
- ctrl+b 打開(kāi)左活動(dòng)面板
- ctrl+j 打開(kāi)關(guān)閉面板
- ctrl+` 打開(kāi)終端面板,可以輸入live-server
- ctrl+g 快捷進(jìn)行指定行代碼位置
- ctrl+shift+t 快速翻譯當(dāng)前選中的詞匯(需要安裝Yao Translate翻譯插件)
- F2 修改內(nèi)容或修改文件名
- ctrl+shift+alt+F12 打開(kāi)瀏覽器使用live-serve服務(wù)器,直接瀏覽當(dāng)前網(wǎng)頁(yè)
- ctrl+shift+alt+f1 菜單 開(kāi)關(guān)
- ctrl+shift+alt+f2 左側(cè),活動(dòng)條 開(kāi)關(guān)
- ctrl+shift+alt+f3 show breadcrumbs 開(kāi)關(guān)
- ctrl+shift+alt+f4 show minimap 開(kāi)關(guān)
- ctrl+shift+alt+F6 狀態(tài)條開(kāi)關(guān)
2.6為vscode增加鼠標(biāo)右鍵功能
- addmouseright.inf
[Version] Signature="$Windows NT$" [DefaultInstall] AddReg=VSCode [VSCode] hkcr,"*\\shell\\VSCode",,,"Open with Code" hkcr,"*\\shell\\VSCode\\command",,,"""%1%\Code.exe"" ""%%1"" %%*" hkcr,"Directory\shell\VSCode",,,"Open with Code" hkcr,"*\\shell\\VSCode","Icon",0x20000,"%1%\Code.exe, 0" hkcr,"Directory\shell\VSCode\command",,,"""%1%\Code.exe"" ""%%1"""
- delright.reg
Windows Registry Editor Version 5.00 [-HKEY_CLASSES_ROOT\*\shell\VSCode] [-HKEY_CLASSES_ROOT\Directory\shell\VSCode]
2.7 用戶(hù)代碼段設(shè)置
2.8清除每次執(zhí)行java程序的一組長(zhǎng)字符串
3.Eclipse
myeclipse是eclipse的插件,
3.1 eclipse基本安裝使用
(1)、下載eclipse www.eclipse.org
(2)、解壓,直接啟動(dòng)開(kāi)發(fā)工具
如果啟動(dòng)不了,jdk開(kāi)發(fā)環(huán)境變量沒(méi)有配置好
(3)、建立項(xiàng)目,編寫(xiě)代碼,并運(yùn)行程序
3.2 Eclipse隱藏菜單欄
3.3關(guān)閉spelling檢查
3.4啟動(dòng)自動(dòng)保存功能
3.5代碼皮膚 代碼樣式
http://www.eclipsecolorthemes.org/ 下載epf 在eclipse 文件菜單 選擇import 導(dǎo)入
3.6中英互譯項(xiàng)目
(1)、eclipse 建立項(xiàng)目
(2)、打開(kāi)jsoup.org網(wǎng)站下載jsoup jar文件
(3)、eclipse項(xiàng)目中的點(diǎn)擊項(xiàng)目名稱(chēng),粘貼jar到項(xiàng)目中
(4)、點(diǎn)擊jsopu-1.13.1.jar文件,右鍵建立classpath
(5)、編寫(xiě)src/cn/webrx/Dict.java
package cn.webrx; import java.io.IOException; import javax.swing.JOptionPane; import org.jsoup.Jsoup; public class Dict { ?? ?public static void main(String[] args) throws IOException { ?? ??? ?String w = JOptionPane.showInputDialog("請(qǐng)輸入詞匯:"); ?? ??? ?String u = "http://www.youdao.com/w/eng/" + w + "/#keyfrom=dict2.index"; ?? ??? ?JOptionPane.showMessageDialog(null,Jsoup.connect(u).get().select("div[class=trans-container]").get(0).text()); ?? ?} ?? ?public static void f360(String[] args) throws IOException { ?? ??? ?String w = "public"; ?? ??? ?String u = "https://www.so.com/s?q=" + w; ?? ??? ?System.out.println(Jsoup.connect(u).get().select("div[class=mh-translation]").get(0).text()); ?? ?} }
package cn.webrx; import java.io.IOException; import javax.swing.JOptionPane; import org.jsoup.Jsoup; public class Dict { ?? ? ?? ?public static void main(String[] args) throws IOException { ?? ??? ?String w = "太陽(yáng)"; ?? ??? ?String u = "https://cn.bing.com/dict/"+w; ?? ??? ?System.out.println(Jsoup.connect(u).get().select("span[class=def b_regtxt]").get(0).text()); ?? ?} ?? ? ?? ? ?? ? ?? ?public static void baidu(String[] args) throws IOException { ?? ??? ?String w = "hello"; ?? ??? ?String u = "https://www.baidu.com/s?wd="+w+"&ie=UTF-8"; ?? ??? ?System.out.println(Jsoup.connect(u).get().select("span[class=op_dict_text2]").get(0).text()); ?? ?} ?? ?public static void mayouda0(String[] args) throws IOException { ?? ??? ?String w = JOptionPane.showInputDialog("請(qǐng)輸入詞匯:"); ?? ??? ?String u = "http://www.youdao.com/w/eng/" + w + "/#keyfrom=dict2.index"; ?? ??? ?JOptionPane.showMessageDialog(null,Jsoup.connect(u).get().select("div[class=trans-container]").get(0).text()); ?? ?} ?? ?public static void f360(String[] args) throws IOException { ?? ??? ?String w = "public"; ?? ??? ?String u = "https://www.so.com/s?q=" + w; ?? ??? ?System.out.println(Jsoup.connect(u).get().select("div[class=mh-translation]").get(0).text()); ?? ?} }
3.7 eclipse 建立javaee 項(xiàng)目
下載tomcat解壓配置:
4. Intellij IDEA
4.1下載
4.2解壓注冊(cè)
4.3配置
編輯器工具打開(kāi)f:/ij/bin/idea.properties核心配置文件修改如下
4.4啟動(dòng)idea并注冊(cè)
http://idea.medeming.com/jet/
http://idea.medeming.com/jetbrains/
5.JRebel激活破解
5.1服務(wù)器地址監(jiān)聽(tīng)服務(wù)器地址
http://jrebel.cicoding.cn
http://jrebel.cicoding.cn/guid
http://jrebel.cicoding.cn/43B6551C-9785-CEA6-05DF-10AC0AF49AA7
5.2注冊(cè)如圖
到此這篇關(guān)于分享常用Java開(kāi)發(fā)編輯器工具的文章就介紹到這了,更多相關(guān)Java開(kāi)發(fā)工具內(nèi)容請(qǐng)搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!
相關(guān)文章
比較java中Future與FutureTask之間的關(guān)系
在本篇文章里我們給大家分享了java中Future與FutureTask之間的關(guān)系的內(nèi)容,有需要的朋友們可以跟著學(xué)習(xí)下。2018-10-10idea之Recompile、Rebuild和Build之間的區(qū)別及說(shuō)明
這篇文章主要介紹了idea之Recompile、Rebuild和Build之間的區(qū)別及說(shuō)明,具有很好的參考價(jià)值,希望對(duì)有所幫助。如有錯(cuò)誤或未考慮完全的地方,望不吝賜教2022-08-08java實(shí)現(xiàn)發(fā)送郵箱驗(yàn)證碼
這篇文章主要為大家詳細(xì)介紹了java實(shí)現(xiàn)發(fā)送郵箱驗(yàn)證碼,文中示例代碼介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下2021-08-08使用java的Calendar對(duì)象獲得當(dāng)前日期
本文給大家分享的是使用使用java的Calendar對(duì)象獲得當(dāng)前日期的上幾個(gè)度開(kāi)始、結(jié)束時(shí)間,主要思路是先獲得當(dāng)前季度的開(kāi)始和結(jié)束日期,在當(dāng)前日期的基礎(chǔ)上往前推3個(gè)月即上個(gè)季度的開(kāi)始和結(jié)束日期,十分的實(shí)用,小伙伴們可以參考下。2015-07-07Springboot+AOP實(shí)現(xiàn)返回?cái)?shù)據(jù)提示語(yǔ)國(guó)際化的示例代碼
這篇文章主要介紹了Springboot+AOP實(shí)現(xiàn)返回?cái)?shù)據(jù)提示語(yǔ)國(guó)際化的示例代碼,本文給大家介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或工作具有一定的參考借鑒價(jià)值,需要的朋友可以參考下2021-07-07Java?Calendar類(lèi)使用之日期和時(shí)間處理指南
這篇文章主要給大家介紹了關(guān)于Java?Calendar類(lèi)使用之日期和時(shí)間處理指南的相關(guān)資料,Calendar類(lèi)是Java中用于處理日期和時(shí)間的抽象類(lèi),它提供了一種獨(dú)立于特定日歷系統(tǒng)的方式來(lái)處理日期和時(shí)間,需要的朋友可以參考下2023-12-12Idea中Springboot熱部署無(wú)效問(wèn)題解決
這篇文章主要介紹了Idea中Springboot熱部署無(wú)效問(wèn)題解決,文中通過(guò)示例代碼介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友可以參考下2019-11-11