您好,欢迎访问一九零五行业门户网

Java常用开发编辑器工具有哪些

1.editplus1.1 官方下载https://www.editplus.com/
官方下载最新的64位
2 .解压就可以使用2.1 vscodevscode是微软推出的免费,开源的代码编辑器工具
2.2下载
2.3 解压建立data在程序目录中,建立一个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使用说明及快捷方式vscode version 1.51.0 readme
1)配置启动方式,设置扩展配置本地化 .vscode .code
桌面快捷方式启动参数 vsc\code.exe --extensions-dir .vscode --user-data-dir .code
也可以不使用快捷方式,直接建立一个data目录也可以。
2)设置软件中文 英文,先安装扩展chinese(simplified) 插件
按下ctrl + shift + p 命令面板 输入config display language 点击可以选择en 也可以选择zh-cn 也可以下载其它语言
3)修改emmet本地模板文件语言及文档标题 lang="zh-cn" <title>document</title>
打开vsc/resources/app/extensions/emmet/dist/node/emmetnodemain.js 文件
1:document 1:http://example.com lang:"en",locale:"en-us",charset:"utf-8" 大约5657行lang=zh,大约5097行设置设置网页标题
4)snippets 代码段提示 输入按下tab键,代码段文件位置vsc/.code/user/snippets/wyl.code-snippets
5)常用快捷键
常用快捷键:
ctrl+shift+w 关闭所有打开的文档窗口(默认不是自己设定的)
alt+/ 代码提示快捷键(默认是ctrl+space)
ctrl+x 剪切当前行
ctrl+shift+k 删除当前行
alt+shift+up(down) 向上行
alt+up(down) 向上移动代码行
ctrl++ 窗口增大
ctrl+- 窗口缩小
ctrl+0(数字键盘) 窗口恢复默认
ctrl + mousewheelzoom 设置编辑器字号大小写(settings.json 配置"editor.mousewheelzoom": true)
ctrl+/ 注释取消注释当前行
alt+shift+a 块注释
alt 设置快捷键为ctrl+shift+alt+f1 临时显示菜单
alt+shift+f 格式化文档
ctrl+b 打开左活动面板
ctrl+j 打开关闭面板
ctrl+` 打开终端面板,可以输入live-server
ctrl+g 快捷进行指定行代码位置
ctrl+shift+t 快速翻译当前选中的词汇(需要安装yao translate翻译插件)
f2 修改内容或修改文件名
ctrl+shift+alt+f12 打开浏览器使用live-serve服务器,直接浏览当前网页
ctrl+shift+alt+f1 菜单 开关
ctrl+shift+alt+f2 左侧,活动条 开关
ctrl+shift+alt+f3 show breadcrumbs 开关
ctrl+shift+alt+f4 show minimap 开关
ctrl+shift+alt+f6 状态条开关
2.6为vscode增加鼠标右键功能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 用户代码段设置
2.8清除每次执行java程序的一组长字符串
3.eclipsemyeclipse是eclipse的插件,
3.1 eclipse基本安装使用(1)、下载eclipse www.eclipse.org
(2)、解压,直接启动开发工具
如果启动不了,jdk开发环境变量没有配置好
(3)、建立项目,编写代码,并运行程序
3.2 eclipse隐藏菜单栏
3.3关闭spelling检查
3.4启动自动保存功能
3.5代码皮肤 代码样式 http://www.eclipsecolorthemes.org/ 下载epf 在eclipse 文件菜单 选择import 导入
3.6中英互译项目(1)、eclipse 建立项目
(2)、打开jsoup.org网站下载jsoup jar文件
(3)、eclipse项目中的点击项目名称,粘贴jar到项目中
(4)、点击jsopu-1.13.1.jar文件,右键建立classpath
(5)、编写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("请输入词汇:"); 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 = "太阳"; 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("请输入词汇:"); 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 项目
下载tomcat解压配置:
4. intellij idea4.1下载
4.2解压注册
4.3配置编辑器工具打开f:/ij/bin/idea.properties核心配置文件修改如下
4.4启动idea并注册http://idea.medeming.com/jet/  
http://idea.medeming.com/jetbrains/
5.jrebel激活破解5.1服务器地址监听服务器地址 http://jrebel.cicoding.cn
 http://jrebel.cicoding.cn/guid
 http://jrebel.cicoding.cn/43b6551c-9785-cea6-05df-10ac0af49aa7
5.2注册如图
以上就是java常用开发编辑器工具有哪些的详细内容。
其它类似信息

推荐信息