常用快捷键

Ctrl + Shift + R 搜索文件
Ctrl + Shift + T 搜索类型
Ctrl + O 搜索成员
 

智能提示

Windows > Preferences > General > Keys > Content Assist 
在此设置智能提示快捷键 
Windows > Preferences > Java > Editor > Content Assist > Auto activation triggers for Java:
在此将智能提示弹出条件设置为 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.
 

在Workspace之间共享Eclipse的设置

拷贝${workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings。
 
 
 
 

设置字体

Windows > Preferences > General > Appearance > Color and Fonts > Basic > Text Font > Edit...
 

启动程序前自动保存

Windows > Preferences > Run/Debug > Launching > Save required dirty editors before launching > Always

Windows > Preferences > Server > Launching > Save dirty editors before starting the server > Always

 

启动Web应用时不使用Eclipse内置浏览器而是打开IE,Chrome或Firefox

Windows > Preferences > General > Web Browser > Use exernal web browser > Firefox(Internet Explorer,Chrome)
 

延长Server启动时间(缺省时间45秒太短)

双击Server打开属性页在Timeouts部分中修改设置
 

去除Console窗口输出长度限制

Windows > Preferences > Run/Debug > Console > Limit console output
缺省情况下输出长度有80000字符的限制,将Limit console output的勾去掉即可无限制输出。
adjusting eclipse console size
 

粘贴字符串时自动加上转义字符\

Window > Preferences > Java > Editor > Typing > Escape text when pasting into a string literal
勾选Escape text when pasting into a string literal。
 
MyEclipse代码进行格式化的快捷键是Shift + Ctrl + F,但每次都按很麻烦,于是可以通过设置代码在保存时自动进行格式化 。
解决办法:
1、打开Windows——>“Preference(首选项)”
2、在弹出的“Preference(首选项)”窗口界面,找到左侧java导航 ---->“editor ”----->“save actions”。
3、在右侧“Save Actions”里找到“Perform the selected actions on save”前打上√,点击“ok”保存。
 

myeclipse的一些设置的更多相关文章

  1. myeclipse中UTF-8设置

      myeclipse中UTF-8设置 如果要使插件开发应用能有更好的国际化支持,能够最大程度的支持中文输出,则最好使 Java文件使用UTF-8编码.然而,Eclipse工作空间(workspace ...

  2. MyEclipse使用总结——设置MyEclipse开发项目时使用的JDK

    安装好MyEclipse之后,在MyEclipse中开发项目时,默认使用的是MyEclipse是自带的JDK,如下图所示: 如果我们需要使用自己安装好的JDK,那么就需要在MyEclipse中重新设置 ...

  3. 转】MyEclipse使用总结——设置MyEclipse开发项目时使用的JDK

    原博文出自于: http://www.cnblogs.com/xdp-gacl/p/3927677.html 感谢! 安装好MyEclipse之后,在MyEclipse中开发项目时,默认使用的是MyE ...

  4. MyEclipse使用总结——设置MyEclipse开发项目时使用的JDK

    安装好MyEclipse之后,在MyEclipse中开发项目时,默认使用的是MyEclipse是自带的JDK,如下图所示: 如果我们需要使用自己安装好的JDK,那么就需要在MyEclipse中重新设置 ...

  5. Myeclipse默认编码设置

    Myeclipse默认编码设置 由于编码问题的出现,我们就必须明确自己在Myeclipse所写的各种文件是按照什么格式来进行编码的.所以只有知己知彼,才能bug少出. 对于刚接触MyEclipse的不 ...

  6. MyEclipse 如何最佳设置

    摘自: http://blog.csdn.net/lifuxiangcaohui/article/details/8513561 MyEclipse 如何最佳设置 作为企业级开发最流行的工具,用Mye ...

  7. MyEclipse使用总结——设置MyEclipse使用的Tomcat服务器 设置JDK

    一.设置使用的Tomcat服务器 如果不想使用MyEclipse自带的tomcat服务器版本,那么可以在MyEclipse中设置我们自己安装好的tomcat服务器 设置步骤如下: Window→Pre ...

  8. 转】MyEclipse使用总结——设置MyEclipse使用的Tomcat服务器

    原博文出自于: http://www.cnblogs.com/xdp-gacl/p/3935499.html 感谢! 一.设置使用的Tomcat服务器 如果不想使用MyEclipse自带的tomcat ...

  9. MyEclipse使用总结——设置MyEclipse使用的Tomcat服务器

    一.设置使用的Tomcat服务器 如果不想使用MyEclipse自带的tomcat服务器版本,那么可以在MyEclipse中设置我们自己安装好的tomcat服务器 设置步骤如下: Window→Pre ...

随机推荐

  1. Tomcat远程调试catalina.sh的配置

    #!/bin/sh # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license ...

  2. [Android Exception A] – 1-The following classes could not be instantiated

    http://stackoverflow.com/questions/26575815/the-following-classes-could-not-be-instantiated-android- ...

  3. communication ports in DOS systems:

    : CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7,COM8, COM9, LPT1, LPT2, LPT3, LPT4, L ...

  4. OpenGL®ES基础

    参考:http://www.cnblogs.com/salam/archive/2016/01/08/5113572.html http://blog.csdn.net/wangyuchun_799/ ...

  5. Xcode7--坑无法运行iOS9以下的模拟器

    Unable to open liblaunch_sim.dylib. Try reinstalling Xcode or the simulator 解决办法 一.找到目标文件 /Applicati ...

  6. (C) Windows 32 API程序设计目录

    (一)第一个窗口程序 01 创建第一个窗口. (二)输出文本 01 获取Windows图形构件大小信息

  7. Mysql设置字符编码及varchar宽度问题

    ubuntu16.04通过仓库安装的mysql5.7的配置文件在 /etc/mysql/mysql.conf.d/mysqld.cnf 修改字符只需要 在[mysqld] character-set- ...

  8. (medium)LeetCode 220.Contains Duplicate III

    Given an array of integers, find out whether there are two distinct indices i and j in the array suc ...

  9. Contains DuplicateII

    超时版: /*Contains Duplicate II Given an array of integers and an integer k, find out whether there the ...

  10. 共享有线实现手机上网,然后使用charles来抓包

    问题描述:共享有线实现手机上网(http://support1.lenovo.com.cn/lenovo/wsi/htmls/detail_1323385217890211.html)  [建议] 还 ...