WEB.java.开发工具认识

开发工具的介绍

Jdk
Eclipse IBM
Myeclipse eclipse的衍生版,开发了不少收费插件
UE18java

窗口给搞没有啦?

操做:重置视图
路径:Window/Reset Perspectivewindows

开发的视图模式

Myeclipse视图、Java视图、ebug视图
建立java工程,引入本身安装的jdk
建立类,同时建立包eclipse

快捷键的设置

联想:Alt+/ windows/Preference/general/keys/Content Assist工具

Alt+/进行检查

简单代码

package com.zhonghuashengshi;
public class Demo0 {开发工具

public static void main(String[] args) {
    System.out.println("hello,heima!");
}

}插件

package com.zhonghuashengshi;code

public class Person {ip

public void eat () {
    System.out.println("吃。。。。。。。。。。。。。。");
}


public void run () {
    System.out.println("跑。。。。。。。。。。。。。。");
}

public static void main(String[] args) {
    Person p = new Person();
    p.eat();
    p.run();
}

}开发

package com.zhonghuashengshi;it

import org.junit.Test;

public class Person {

@Test
public void eat () {
    System.out.println("吃。。。。。。。。。。。。。。");
}


public void run () {
    System.out.println("跑。。。。。。。。。。。。。。");
}

}

package org.huawei;

import org.junit.Test;

public class TestPerson {

@Test
public void eatTest(){
    System.out.println("dd");
}

}

相关快捷键的解释

内容提示:Alt + / 快速修复:Ctrl + 1导包:Ctrl + shift + O进入方法内部Ctrl+左键向前向后:Alt + 左右方向键添加块注释 Ctrl+Shift+/除去块注释 Ctrl+Shift+\添加/除去行注释 Ctrl+/复制当前行Ctrl+Alt+上/下(在某些机器上与显卡快捷键冲突)删除当前行Ctrl+D查看方法说明F2

相关文章
相关标签/搜索