您的位置:首页 > 编程语言 > Java开发

eclipse 常用设置

2015-08-11 00:00 127 查看
1、字符编码格式设置

Window -> Preferences -> General -> Workspace -> Text file encoding -> UTF-8

2、显示行号

Window -> Preferences -> General -> Editors -> Text Editors -> Show line numbers

3、显示空白字符

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

3、使用Space替换Tab

Window -> Preferences -> General -> Editors -> Text Editors -> Insert spaces for tabs

Window -> Preferences -> Java -> Code Style -> Formatter 新建一个profile,在General settings中选择Spaces only

Window -> Preferences -> XML -> XML Files -> Editor -> Indent using spaces
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: