Eclipse 使用技巧

    
乱码: Eclipse设置编码:General>Workspace>UTF-8; ContentType>default encoding:UTF-8;

utf-8情况下中文乱码 /项目属性>other:输入GBK

调节字体大小:General>Appearance> Basic>Text Font

标签页切换 ctrl+PageUp/PageDown

eclipse>shift+alt+a 列模式

示例1

        Person e=new Person();
        BeanUtils.setProperty(e, "id",id);
        BeanUtils.setProperty(e, "name", name);
        BeanUtils.setProperty(e, "salary", salary);
        BeanUtils.setProperty(e, "birthday", birthday);
        System.out.println(e);

双击选中e,Refactor>Rename,e全部修改为p

jar>add to build path

你可能感兴趣的:(eclipse)