`
cooliufang
  • 浏览: 127662 次
社区版块
存档分类
最新评论

Eclipse simple settings

阅读更多
This article I wrote for myself. Because I always forget these things

1. Eclipse font setting

Window ->Preferences ->General ->Appearance ->Colors and Fonts
right window -> Java -> Text Font




2. Eclipse Auto Activation

Window ->Preferences ->Java ->Editor ->Content Assist
right window ->
Auto activation triggers for Java: .abcdefghijklmnopqrstuvwxyz (add all 26 letters)



3. Eclipse encoding

(To encoding UTF-8 as example)
1). Change encoding for all workspace
eclipse ->Window ->Preferences ->General ->Workspace
right window -> Text file encoding -> choose Other:UTF-8 ->OK



2).Change encoding for a project
right click Project name -> Properties ->Resource -> Text file encoding -> choose Other:UTF-8 ->OK



3). Change encoding for special type file
eclipse ->Window ->Preferences ->General ->Content Types
right window ->Content types :choose  the file(JAVA, JSP and so on) ->Default encoding:input UTF-8 -> Update ->OK



4).Change encoding for single file
Package explorer -> right click single file ->Preferences ->Resource -> Text file encoding -> choose Other:UTF-8 ->OK


  • 大小: 112.6 KB
  • 大小: 74 KB
  • 大小: 64.7 KB
  • 大小: 54.5 KB
  • 大小: 57 KB
  • 大小: 46.6 KB
分享到:
评论

相关推荐

    eclipse 开发c/c++

    当进入 C/C++ Projects 视图,选择您的项目,单击鼠标右键并在 Build Settings 选项卡上选择 Properties 之后,就可以使用更多的用于构建项目的常用选项。这些选项主要影响因遇到编译错误而使构建停止时所发生的情况...

    Maven权威指南 很精典的学习教程,比ANT更好用

    定义Simple Weather项目 4.2.1. Yahoo! Weather RSS 4.3. 创建Simple Weather项目 4.4. 定制项目信息 4.5. 添加新的依赖 4.6. Simple Weather源码 4.7. 添加资源 4.8. 运行Simple Weather项目 4.8.1. ...

    网络架构师148讲视频课程

    │ │ ├─org.eclipse.core.resources │ │ │ ├─.history │ │ │ │ ├─0 │ │ │ │ ├─1 │ │ │ │ ├─10 │ │ │ │ ├─11 │ │ │ │ ├─12 │ │ │ │ ├─13 │ │ │ │ ├─14 │ │ │ ...

    EGit用户指南

    3.10.2 Rebase, A Simple Example 3.10.3 The Real World: Rebase Conflicts 3.10.4 Starting Rebase 3.10.5 Rebase Confirmation Dialog 3.10.6 Rebase Conflicts 3.10.7 Aborting Rebase 3.11 Interactive...

    Prentice.Hall.C++.GUI.Programming.with.Qt.4.2nd.Edition.2008.chm

    Storing Settings Multiple Documents Splash Screens Chapter 4. Implementing Application Functionality The Central Widget Subclassing QTableWidget Loading and Saving Implementing the Edit...

    Introduction.to.Android.Application.Development(4th,2013.12) pdf

    Allowing Simple User Selections with Buttons and Switches 190 Using Basic Buttons 190 Using CheckBox and ToggleButton Controls 193 Using RadioGroup and RadioButton 194 Retrieving Dates, Times, and ...

    Spring-Reference_zh_CN(Spring中文参考手册)

    1. 简介 1.1. 概览 1.2. 使用场景 2. Spring 2.0 的新特性 2.1. 简介 2.2. 控制反转(IoC)容器 2.2.1. 更简单的XML配置 2.2.2. 新的bean作用域 2.2.3. 可扩展的XML编写 2.3. 面向切面编程(AOP) 2.3.1. 更加简单的AOP ...

    前端-后端java的Util类的工具类

    │ │ org.eclipse.jdt.core.prefs │ │ │ └─src │ │ logging.properties │ │ │ └─com │ └─mine │ │ BigMap.java │ │ LogPack.java │ │ │ └─logging │ ConsoleHandler.java │ Error...

    apktool documentation

    Introduction Basic First lets take a lesson into apk files. apks are nothing more than a zip file containing resources and compiled java. If you were to simply unzip an apk like so, you would be left...

Global site tag (gtag.js) - Google Analytics