亲宝软件园·资讯

展开

Java开发工具

梁云亮 人气:0

1.editplus

1.1 官方下载

https://www.editplus.com/

官方下载最新的64位

2 .解压就可以使用

2.1 vscode

vscode是微软推出的免费,开源的代码编辑器工具

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

常用快捷键:

2.6为vscode增加鼠标右键功能

[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"""
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shell\VSCode]
[-HKEY_CLASSES_ROOT\Directory\shell\VSCode]

2.7 用户代码段设置

2.8清除每次执行java程序的一组长字符串

3.Eclipse

myeclipse是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 IDEA

4.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注册如图

加载全部内容

相关教程
猜你喜欢
用户评论