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:大数相加
    杭电2186:悼念512汶川大地震遇难同胞——一定要记住我爱你
    实验五
    安装vmtools
    ubuntu20.04换源
    实验一 灯程序——OK6410A开发板LINUX3.0.1(嵌入式开发)
    OK6410A开发板LINUX3.0.1配置(嵌入式开发)
    实验四 Makefile
    虚拟机联网
    实验三 按键灯
  • 原文地址:https://www.cnblogs.com/towerking/p/4881853.html
Copyright © 2011-2022 走看看