zoukankan      html  css  js  c++  java
  • Eclipse常用设置

    字体设置

    window——preference——General——Appearance——Colors and Font.

    Ubuntu下偏爱的字体是nimbus Mono L

    设置制表符(Tab键)的宽度,并将Tab键用空格替换

    1. window——preference——General——Editor——Text Editor设置页面:Display Tab Width, 并勾选Insert spaces for tabs.

    2. window——preference——Java——Code Style——Formatter设置页面,Edit,在弹出的Editor profile窗口中,Indentation卡片,设置Indentation Size和Tab Size为4;

        并将Tab policy 设置为Spaces only。

    3. 设置CSS与HTML的,制表符为空格,且数量为2。

      window——preference——Web——CSS Files——Editor 选择Indent using spacess, 并将Indentation size 设置为2(PS:Eclipse 4.5,通过鼠标滚轮来完成);

      相同方式可以设置HTML, JSP默认继承HTML

    4. 设置Javascript的Indentation size与Tab size的值为2

         window——preference——JavaScript——Code Style——Formatter设置页面,Edit,在弹出的Editor profile窗口中,Indentation卡片,设置Indentation Size和Tab Size为2;    并将Tab policy 设置为Spaces only

    5. 设置xml的制表符为空格,且数量为2

       window——preference——XML——XML Files——Editor 选择Indent using spacess, 并将Indentation size 设置为2(PS:Eclipse 4.5,通过鼠标滚轮来完成)

    Eclipse显示空白符,如空格、制表符、换行符等

    window——preference——General——Editor——Text Editor设置页面 勾选 Show whitespace characters

  • 相关阅读:
    错误处理和调试 C++快速入门30
    错误处理和调试 C++快速入门30
    虚继承 C++快速入门29
    多继承 C++快速入门28
    界面设计01 零基础入门学习Delphi42
    鱼C记事本 Delphi经典案例讲解
    界面设计01 零基础入门学习Delphi42
    虚继承 C++快速入门29
    linux系统中iptables防火墙管理工具
    linux系统中逻辑卷快照
  • 原文地址:https://www.cnblogs.com/towerking/p/4881853.html
Copyright © 2011-2022 走看看