In eclipse, press CTRL to add the method and file to indicate an error.

Source: Internet
Author: User
Eclipse has many advantages, such as opening multiple working directories, Auto Indent, Auto completion, and error prompt. the code is divided into multiple production colors, and so on. it has one advantage, it is also the reason why I have been using eclipse, that is, press ctrl to point the file, the method, the variable will prompt this file, where the method is located. This is a great help for code reading.

I. problems encountered

Eclipse has many advantages, such as opening multiple working directories, Auto Indent, Auto completion, and error prompt. the code is divided into multiple production colors, and so on. it has one advantage, it is also the reason why I have been using eclipse, that is, press ctrl to point the file, the method, the variable will prompt this file, where the method is located. This is a great help for code reading.


If I press ctrl to click the get_header () method. I personally think it is very convenient. if this method cannot be used and you are not familiar with the entire code, it will be depressing. you can only use global search, however, it is a waste of time. Of course I am talking about this problem.

II. problem solving

I checked the svn checkout project and put it in eclipse. when I checked the code, the ctrl key failed. I was always prompted that the project you created was not a php project. it was depressing. Later, I discovered that there was no. project file for the project that was down from svn. This file is a project description file automatically generated during project creation.

View copy print?
  1. Work project name
  2. Net. sourceforge. phpeclipse. parserbuilder
  3. Net. sourceforge. phpeclipse. phpnature
 
  
  
   
Work project name
   
  
  
  
   
    
     
Net. sourceforge. phpeclipse. parserbuilder
    
   
  
  
   
    
Net. sourceforge. phpeclipse. phpnature
   
  
 

I changed the content in the green color above to the project name that I want to work on, and checked it in the project root directory. have a try.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.