zoukankan      html  css  js  c++  java
  • Eclipse 介绍

    • 设置背景的插件: Darkest Dark Theme

    • 添加 properties 插件: Properties Editor

    • Git 插件: Egit

    • 常用快捷键
      command + 1 : 代码提示
      contrl + shift + F: 代码格式化
      option + / : 自动补全
      command + option + s : 快速生成 getter, setter, 构造函数等
      command + shift + f : 代码格式良好
      command + 单击 : 查看源代码
      command + / : 添加注释
      command + d : 删除当前行
      command + control + / : 添加多行注释
      command + control + : 取消多行注释
      command + alt + 向下箭头 : 复制当前行到下一行
      command+ shift + x: 小写转成大写
      command + ,: 查看 preference
      command + shift + T: 通过搜索,查看源码 (open Type)
      command + shift + R: open Resource
      command + T: 查看接口的实现类
      ctrl + shift + R: 快速查找文件
      command + K: 选中一个变量, 光标就会自动定位到下一个变量被使用的地方,也就是“Find+Next”
      shift + tab: 将代码整体左移
      alt + shift + A: 列编辑(toggle block selection)

    Eclipse 初级配置

    1. 统一工作空间编码,设置为 "UTF-8"

    2. JSP 文件设置编码为"UTF-8"

    3. 修改字体

    4. 添加系统中的 JDK


    Eclipse 常见问题

    1. 如何在 Eclipse 下方显示 Servers 窗口

    解决方案:

    2. 如何设置 eclipse 右键 new 的菜单

    解决方案:

    3. 新建 jsp 文件, 出现 "the superclass 'javax.servlet.httpServlet' was not found on the Java Build Path"提示

    解决方案:



    **参考资料:** - [JavaWeb 视频教程](https://www.bilibili.com/video/av12751541/#page=3) - [eclipse怎么添加server窗口](http://www.tuxi.com.cn/viewb-30922-309221911.html) - [如何设置 eclipse 右键 new 的菜单](http://www.cnblogs.com/shindo/p/7089141.html) - [the superclass "javax.servlet.httpServlet"](https://stackoverflow.com/questions/38991878/the-superclass-javax-servlet-httpservlet-was-not-found-on-the-java-build-path) - [Mac系统下 Eclipse 代码自动联想功能](http://blog.csdn.net/kimsoft/article/details/52778282) - [ Eclipse编辑Spring配置文件xml时自动提示类class包名](http://blog.csdn.net/hh775313602/article/details/70176531) - [Eclipse 修改代码提示框颜色](http://www.cnblogs.com/lcchuguo/p/5340967.html) - [Eclipse 修改代码提示快捷键](https://www.cnblogs.com/bluestorm/archive/2013/03/19/2968823.html) - [EclEmma 测试覆盖率工具](https://www.cnblogs.com/Ming8006/p/5811425.html)
  • 相关阅读:
    Android应用程序组件Content Provider简要介绍和学习计划
    本人其它博客
    Android应用程序组件Content Provider的启动过程源代码分析
    Android应用程序组件Content Provider应用实例
    Team Foundation Server 2010 Performance Tuning – Lessons learned
    Katapult:KDE 桌面辅佐序次
    Informix IDS 11系统打点(918考试)认证指南,第2局部系统活动监督(3)
    Amarok 1.4.6
    Informix IDS 11琐细管理(918测验)认证指南,第1部分IDS安设和设置(1)
    KTorrent 2.2 公布
  • 原文地址:https://www.cnblogs.com/linkworld/p/7567971.html
Copyright © 2011-2022 走看看