You cannot trace a function using CTRL in Eclipse

Source: Internet
Author: User

Always use eclipse to write items, often using CTRL + Left-click function name to trace the function. Today suddenly found that this function is not available. On the internet to check, said to first check the root directory of the project . BuildPath(the contents of the. BuildPath file are the same ) whether the file exists , I looked at the project, really did not, copy one in, found or not. then look at the . Project file needs to be modified .

The contents of the . project file in the project that cannot be clicked are as follows :

( 1 )

<?xml version= "1.0" encoding= "UTF-8"?>

<projectDescription>

<name>trunk</name>

<comment></comment>

<projects>

</projects>

<buildSpec>

</buildSpec>

<natures>

</natures>

</projectDescription>

The contents of the . Project file in the project that you can hit are as follows:

( 2 )

<?xml version= "1.0" encoding= "UTF-8"?>

<projectDescription>

<name>trunk</name>

<comment></comment>

<projects>

</projects>

<buildSpec>

<buildCommand>

<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>

<arguments>

</arguments>

</buildCommand>

<buildCommand>

<name>org.eclipse.wst.validation.validationbuilder</name>

<arguments>

</arguments>

</buildCommand>

<buildCommand>

<name>org.eclipse.dltk.core.scriptbuilder</name>

<arguments>

</arguments>

</buildCommand>

</buildSpec>

<natures>

<nature>org.eclipse.php. Core. Phpnature</nature>

<nature>org.eclipse.wst.jsdt.core.jsNature</nature>

</natures>

</projectDescription>

Find the difference between ( 1 ), ( 2 ), and then Modify the . project file under the root of the item that cannot be clicked. Problem solving.

Use CTRL in eclipse to not track functions

Related Article

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.