1. 代码的自动提示(ctrl+shift+space),效果如下图所示:


  2. 自动导包(Alt+Enter),效果图如下:


  3. 代码的跟踪导航(按住ctrl键不放直到如下图所示)则可跟踪进如下方法中


    再按(Alt+向左方向键)则可返回,按(Alt+向右方向键)则又可进入所跟踪的方法里

  4. 代码对齐(Alt+Shift+f)
  5. 跟踪文件在项目结构视图中的位置(Alt+Home)
  6. Java类搜索(ctrl+减号)


  7. Java类方法结构图示(ctrl+shift+`)


  8. 设置文档标记(按Alt+Shift+1~9进行标记),然后再通过ctrl+1~9来定位


    注:帮助文档上说是alt+1~9来定位,但是实际上不是。

  9. 复制路径(ctrl+shift+c)
  10. 增加粘贴(ctrl+shift+v)
  11. 运行项目(正常运行F11,DEBUGctrl+F9)
  12. 代码自动补全
    1. 自动补全方法(ctrl+shift+enter)

      在代码区中输入if或者for,然后按快捷键,刚会出现下图所示效果



    2. 自动实例实例

      默认为ctrl+space,但与windows系统中切换中英文输入法相冲突,可以将其在偏好设置中修改。

    3. 自动包含代码(alt+shift+z)



  13. 弹出当前打开文件列表(ctrl+等号)


  14. 打开文件之间的切换
    1. 向上(alt+shift+Tab)
    2. 向下(alt+Tab)


从ADF Mobile发布第一版时就想写一个入门的课程,期间由于杂事繁多,就把这个计划搁置了。端午节假期刚好没外出,宅在家里把半年来欠下的债一个个的还,帮朋友写完一个跳票N久的程序后,想着ADF Mobile也出了第二版,加上官方都出了完善的视频向导,再写向导好象有画蛇添足之嫌。不过本着还自己心愿的态度,就算拾人牙慧,做Oracle官网的搬运工也要把简单的教程写出来。

计划写5篇的向导文章,大纲分列如下:

1. ADF Mobile开发环境的安装及配置;

2. 第一个ADF Mobile程序;

3.ADF Mobile微博客户端的实现(主要演示如何用ADF Mobile调用开放平台的接口,还没决定是用新浪微博还是腾讯微博);

4.WebCenter Content的ADF Mobile客户端实现;

5.WebCenter Portal的ADF Mobile客户端实现;

先挖个坑,给自己下套,希望能有时间把这一系列文章写完。

习惯了用yum来安装东西,试了下这篇文章提到的做法workable,再做一次搬运工。
原文出处: http://www.rackspace.com/knowledge_center/article/installing-rhel-epel-repo-on-centos-5x-or-6x

  • Authored by: Rackspace Support

How to install RHEL EPEL repository on Centos 5.x or 6.x

The following article will describe how to configure a CentOS 5.x-based or Centos 6.x-based system to use Fedora Epel repos and third party remi package repos. These package repositories are not officially supported by CentOS, but they provide much more current versions of popular applications like PHP or MYSQL.

Install the extra repositories

The first step requires downloading some RPM files that contain the additional YUM repository definitions. The instructions below point to the 64-bit versions that work with our Cloud Server instances.

Centos 5.x

wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
sudo rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

Centos 6.x

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm

Once installed you should see some additional repo definitions under the /etc/yum.repos.d directory.

$ ls -1 /etc/yum.repos.d/epel* /etc/yum.repos.d/remi.repo
/etc/yum.repos.d/epel.repo
/etc/yum.repos.d/epel-testing.repo
/etc/yum.repos.d/remi.repo

Enable the remi repository

The remi repository provides a variety of up-to-date packages that are useful or are a requirement for many popular web-based services. That means it generally is not a bad idea to enable the remi repositories by default.
First, open the /etc/yum.repos.d/remi.repo repository file using a text editor of your choice:

sudo vim /etc/yum.repos.d/remi.repo

Edit the [remi] portion of the file so that the enabled option is set to 1. This will enable the remi repository.

name=Les RPM de remi pour Enterprise Linux $releasever - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/$releasever/remi/mirror
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
failovermethod=priority

You will now have a larger array of yum repositories from which to install.