zoukankan      html  css  js  c++  java
  • eclipse菜单栏工具

    1. new Class 和 new Package

      通过右键-》new -》 找到java-》class 方式太慢。

      在window-》perspective -》 customize perspective -》 ToolBar visibility -》 java Element Creation -》勾选Class 和package。

      这样new Class 和 new Package就会显示在菜单栏上了。

    2.  显示回车符和空格

      Window -> Preferences -> General -> Editors -> Text Editors -> Show whitespace characters

    3. 背景

      白色背景太刺眼

      Window -> Preferences -> General -> Editors  -> Text Editors -> BackgroundColor 取消system的√,选择自己喜欢的颜色。

    4. 文字大小

      有时电脑像素高,会发现文字很小

      Window -> Preferences -> General -> Appearance->Basic->Text font

    5. 用空格符代替tab符

      因代码审查中不能出现tab制表符,但是我们默认回车换行都是tab符。

      Window -> Preferences -> General ->Editors->Text Editors   将checkbox (insert space for tabs)选中

      Window -> Preferences -> JAVA->code style->formatter -> new ... -> tabs 变为 space only 保存

  • 相关阅读:
    Java异常简介
    Java中的接口
    Java中的抽象类
    Java的多态
    关于this
    面向对象的继承方式详解
    1像素边框问题
    HTML5之本地存储SessionStorage
    js数组去重的4个方法
    前端模块化
  • 原文地址:https://www.cnblogs.com/DennyZhao/p/7866596.html
Copyright © 2011-2022 走看看