facebook

Cannot hyperlink public member variables in ME2014

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #349459 Reply

    raydawg2000
    Participant

    If i have a class called MyTest and declare a variable

    
    public static final String MY_VAR = "test";
    

    When I use it in my code like

    
    MyTest.MY_VAR
    

    I should be able to CTRL+Click MY_VAR and it will take me to the declaration. This does not work. I can only CTRL+CLICK “MyTest” and that will open up the class file, then i must manually scroll to find the variable declaration. All other forms of Hyperlinking seem to work fine, its just with the member variables I have noticed this.

    Also something to note, is that this only applies to projects that were created in previous versions of MyEclipse. I have a project I just freshly created in ME2014 and the hyperlinking works fine. Older projects do not work.

    Preferences -> Editors -> Text Editors -> Hyperlinking has all possible options checked as active.

    *** Date:
    Wednesday, May 21, 2014 4:15:35 PM PDT

    *** System properties:
    OS=Windows7
    OS version=6.1.0
    OS arch=x86
    Profile arch=x86
    Window system=win32
    Java version=1.7.0_45
    Workspace=file:/C:/Users/rholguin/Workspace/
    VM Args=-Xmx768m
    -XX:MaxPermSize=384m
    -XX:ReservedCodeCacheSize=64m
    -Dosgi.nls.warnings=ignore
    -Djava.class.path=C:\Users\rholguin\AppData\Local\MYECLI~2\plugins/OR8508~1.JAR

    *** Subscription information
    Product Id: E3MP (MyEclipse Professional Subscription)
    License version: 3.0
    Full Maintenance Included
    Subscription expiration date (YYYYMMDD): 20150213
    Number of users: 6

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 2014
    Build id: 12.0.0-20131202

    Blueprint: N/A

    com.genuitec.myeclipse.database – 12.0.0.me201311281640
    com.genuitec.myeclipse.enterprise.workbench – 12.0.0.me201311281640
    com.genuitec.myeclipse.jsf – 12.0.0.me201311281640
    com.genuitec.myeclipse.persistence – 12.0.0.me201311281640
    com.genuitec.myeclipse.tomcat – 12.0.0.me201311281640
    org.eclipse.datatools.connectivity.feature – 1.11.1.me201311281640
    org.eclipse.datatools.enablement.feature – 1.11.1.me201311281640
    org.eclipse.datatools.modelbase.feature – 1.11.1.v201306041610-7707GCcNBHLDaKTEcRi
    org.eclipse.datatools.sqldevtools.feature – 1.11.1.me201311281640
    org.eclipse.emf – 2.9.1.v20130902-0605
    org.eclipse.gef – 3.9.1.201308190730
    org.eclipse.graphiti.feature – 0.10.1.v20130918-0838
    org.eclipse.jpt.jpa.feature – 3.3.1.me201311281640
    org.eclipse.jpt.jpadiagrameditor.feature – 1.2.0.me201311281640
    org.eclipse.jst.common.fproj.enablement.jdt – 3.4.0.me201311281640
    org.eclipse.jst.enterprise_ui.feature – 3.5.0.me201311281640
    org.eclipse.jst.server_adapters.ext.feature – 3.3.103.me201311281640
    org.eclipse.jst.server_adapters.feature – 3.2.201.me201311281640
    org.eclipse.jst.server_ui.feature – 3.4.1.me201311281640
    org.eclipse.sapphire.platform – 0.6.6.201310081535
    org.eclipse.wst.common.fproj – 3.4.0.me201311281640
    org.eclipse.wst.server_adapters.feature – 3.2.300.me201311281640
    org.eclipse.xsd – 2.9.1.v20130902-0605
    org.springframework.ide.eclipse.feature – 3.3.0.me201311281640
    org.zeroturnaround.myeclipse.feature – 5.5.3.RELEASE-201404211541

    org.eclipse.cvs – 1.4.0.v20130911-1000
    org.eclipse.draw2d – 3.9.1.201308190730
    org.eclipse.e4.rcp – 1.2.1.v20130910-2014
    org.eclipse.egit – 3.1.0.201310021548-r
    org.eclipse.epp.mpc – 1.2.1.I20130917-2019
    org.eclipse.equinox.p2.core.feature – 1.2.1.v20130827-1605
    org.eclipse.equinox.p2.discovery.feature – 1.0.100.v20130502-0334
    org.eclipse.equinox.p2.extras.feature – 1.2.0.v20130827-1605
    org.eclipse.equinox.p2.rcp.feature – 1.2.0.v20130828-0031
    org.eclipse.equinox.p2.user.ui – 2.2.0.v20130828-0031
    org.eclipse.help – 2.0.1.v20130911-1000
    org.eclipse.jdt – 3.9.1.v20130911-1000
    org.eclipse.jgit – 3.1.0.201310021548-r
    org.eclipse.jsf.feature – 3.7.0.me201311281640
    org.eclipse.mylyn.bugzilla_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.commons – 3.9.1.v20130917-0100
    org.eclipse.mylyn.commons.identity – 1.1.1.v20130917-0100
    org.eclipse.mylyn.commons.notifications – 1.1.1.v20130917-0100
    org.eclipse.mylyn.commons.repositories – 1.1.1.v20130917-0100
    org.eclipse.mylyn.context_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.cvs – 1.1.1.v20130917-0100
    org.eclipse.mylyn.discovery – 3.9.1.v20130917-0100
    org.eclipse.mylyn.git – 1.1.1.v20130917-0100
    org.eclipse.mylyn.ide_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.java_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.monitor – 3.9.1.v20130917-0100
    org.eclipse.mylyn.tasks.ide – 3.9.1.v20130917-0100
    org.eclipse.mylyn.team_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.versions – 1.1.1.v20130917-0100
    org.eclipse.mylyn_feature – 3.9.1.v20130917-0100
    org.eclipse.pde – 3.9.1.v20130911-1000
    org.eclipse.platform – 4.3.1.v20130911-1000
    org.eclipse.rcp – 4.3.1.v20130911-1000
    org.zeroturnaround.eclipse.feature – 5.5.3.RELEASE-201404211541
    org.zeroturnaround.eclipse.wtp.feature – 5.5.3.RELEASE-201404211541

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Users\rholguin\AppData\Local\MyEclipse Professional 2014\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\Users\rholguin\AppData\Local\MyEclipse Professional 2014\plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_3.2.0.v201103301700\eclipse_3215.dll
    -startup
    C:\Users\rholguin\AppData\Local\MyEclipse Professional 2014\plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
    -install
    C:\Users\rholguin\AppData\Local\MyEclipse Professional 2014
    -vm
    C:\Users\rholguin\AppData\Local\MyEclipse Professional 2014\binary/com.sun.java.jdk7.win32.x86_1.7.0.u45/jre/bin/client/jvm.dll

    #349467 Reply

    support-swapna
    Moderator

    Hi,

    Sorry that you are seeing this issue.I could not replicate the issue with a simple web project at my end. I checked projects which are created in MyEclipse 8.x and MyEclipse 10.x.

    1. If you press F3, does that find the declaration of the currently selected variable ? Can you please clean the project and see if it fixes the issue?

    2. Can you please switch to a new workspace, replicate the issue and check the .log file which is located at <workspace dir>/metadata/.log for any errors/exceptions logged. If any please paste them here.

    3. Can you please also list the previous versions of MyEclipse on which the projects were created?

    4. If possible please prepare a sample project which exhibits the issue and send it to help us replicate the issue at our end.

    5. Please share the MyEclipse Installation Details from MyEclipse > Installation Summary > Installation Details.

    #349476 Reply

    raydawg2000
    Participant

    1. Yes, if i have the variable highlight and press F3 it does take me to the declaration as if I had CTRL+Clicked it. Cleaning the project did not fix it.

    2. Yes I switched workspaces, copied a project over and the issue persisted. There are errors in the log that seem to relate to hyperlinking. I am attaching the log file.

    3. This particular project tested with was created with ME2013, but i have projects from many different versions as I have been a customer for many years. All seem to have the issue.

    4. Ok I will email you a sample project.

    5. Details below.

    *** Date:
    Thursday, May 22, 2014 9:57:52 AM PDT

    *** System properties:
    OS=Windows7
    OS version=6.1.0
    OS arch=x86
    Profile arch=x86
    Window system=win32
    Java version=1.7.0_45
    Workspace=file:/C:/Users/rholguin/Workspaces/MyEclipse/
    VM Args=-Xmx768m
    -XX:MaxPermSize=384m
    -XX:ReservedCodeCacheSize=64m
    -Dosgi.nls.warnings=ignore
    -Djava.class.path=C:\Users\rholguin\AppData\Local\MYECLI~2\plugins/OR8508~1.JAR

    *** Subscription information
    Product Id: E3MP (MyEclipse Professional Subscription)
    License version: 3.0
    Full Maintenance Included
    Subscription expiration date (YYYYMMDD): 20150213
    Number of users: 6

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 2014
    Build id: 12.0.0-20131202

    Blueprint: N/A

    com.genuitec.myeclipse.database – 12.0.0.me201311281640
    com.genuitec.myeclipse.enterprise.workbench – 12.0.0.me201311281640
    com.genuitec.myeclipse.jsf – 12.0.0.me201311281640
    com.genuitec.myeclipse.persistence – 12.0.0.me201311281640
    com.genuitec.myeclipse.tomcat – 12.0.0.me201311281640
    org.eclipse.datatools.connectivity.feature – 1.11.1.me201311281640
    org.eclipse.datatools.enablement.feature – 1.11.1.me201311281640
    org.eclipse.datatools.modelbase.feature – 1.11.1.v201306041610-7707GCcNBHLDaKTEcRi
    org.eclipse.datatools.sqldevtools.feature – 1.11.1.me201311281640
    org.eclipse.emf – 2.9.1.v20130902-0605
    org.eclipse.gef – 3.9.1.201308190730
    org.eclipse.graphiti.feature – 0.10.1.v20130918-0838
    org.eclipse.jpt.jpa.feature – 3.3.1.me201311281640
    org.eclipse.jpt.jpadiagrameditor.feature – 1.2.0.me201311281640
    org.eclipse.jst.common.fproj.enablement.jdt – 3.4.0.me201311281640
    org.eclipse.jst.enterprise_ui.feature – 3.5.0.me201311281640
    org.eclipse.jst.server_adapters.ext.feature – 3.3.103.me201311281640
    org.eclipse.jst.server_adapters.feature – 3.2.201.me201311281640
    org.eclipse.jst.server_ui.feature – 3.4.1.me201311281640
    org.eclipse.sapphire.platform – 0.6.6.201310081535
    org.eclipse.wst.common.fproj – 3.4.0.me201311281640
    org.eclipse.wst.server_adapters.feature – 3.2.300.me201311281640
    org.eclipse.xsd – 2.9.1.v20130902-0605
    org.springframework.ide.eclipse.feature – 3.3.0.me201311281640
    org.zeroturnaround.myeclipse.feature – 5.5.3.RELEASE-201404211541

    org.eclipse.cvs – 1.4.0.v20130911-1000
    org.eclipse.draw2d – 3.9.1.201308190730
    org.eclipse.e4.rcp – 1.2.1.v20130910-2014
    org.eclipse.egit – 3.1.0.201310021548-r
    org.eclipse.epp.mpc – 1.2.1.I20130917-2019
    org.eclipse.equinox.p2.core.feature – 1.2.1.v20130827-1605
    org.eclipse.equinox.p2.discovery.feature – 1.0.100.v20130502-0334
    org.eclipse.equinox.p2.extras.feature – 1.2.0.v20130827-1605
    org.eclipse.equinox.p2.rcp.feature – 1.2.0.v20130828-0031
    org.eclipse.equinox.p2.user.ui – 2.2.0.v20130828-0031
    org.eclipse.help – 2.0.1.v20130911-1000
    org.eclipse.jdt – 3.9.1.v20130911-1000
    org.eclipse.jgit – 3.1.0.201310021548-r
    org.eclipse.jsf.feature – 3.7.0.me201311281640
    org.eclipse.mylyn.bugzilla_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.commons – 3.9.1.v20130917-0100
    org.eclipse.mylyn.commons.identity – 1.1.1.v20130917-0100
    org.eclipse.mylyn.commons.notifications – 1.1.1.v20130917-0100
    org.eclipse.mylyn.commons.repositories – 1.1.1.v20130917-0100
    org.eclipse.mylyn.context_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.cvs – 1.1.1.v20130917-0100
    org.eclipse.mylyn.discovery – 3.9.1.v20130917-0100
    org.eclipse.mylyn.git – 1.1.1.v20130917-0100
    org.eclipse.mylyn.ide_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.java_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.monitor – 3.9.1.v20130917-0100
    org.eclipse.mylyn.tasks.ide – 3.9.1.v20130917-0100
    org.eclipse.mylyn.team_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.versions – 1.1.1.v20130917-0100
    org.eclipse.mylyn_feature – 3.9.1.v20130917-0100
    org.eclipse.pde – 3.9.1.v20130911-1000
    org.eclipse.platform – 4.3.1.v20130911-1000
    org.eclipse.rcp – 4.3.1.v20130911-1000
    org.zeroturnaround.eclipse.feature – 5.5.3.RELEASE-201404211541
    org.zeroturnaround.eclipse.wtp.feature – 5.5.3.RELEASE-201404211541

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Users\rholguin\AppData\Local\MyEclipse Professional 2014\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\Users\rholguin\AppData\Local\MyEclipse Professional 2014\plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_3.2.0.v201103301700\eclipse_3215.dll
    -startup
    C:\Users\rholguin\AppData\Local\MyEclipse Professional 2014\plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
    -install
    C:\Users\rholguin\AppData\Local\MyEclipse Professional 2014
    -data
    C:\Users\rholguin\Workspaces\MyEclipse
    -launcher
    C:\Users\rholguin\AppData\Local\MyEclipse Professional 2014\myeclipse.exe
    -install
    C:\Users\rholguin\AppData\Local\MyEclipse Professional 2014
    -vm
    C:\Users\rholguin\AppData\Local\MyEclipse Professional 2014\binary/com.sun.java.jdk7.win32.x86_1.7.0.u45/jre/bin/client/jvm.dll

    Attachments:
    You must be logged in to view attached files.
    #349489 Reply

    support-swapna
    Moderator

    Hi,

    Thank you for the log file and the project. I could not replicate the issue with a java project which is created in MyEclipse 2013 and imported to MyEclipse 2014.

    When I import your project, I see that the src folder is not a source folder.When I check the Source tab in the project’s Build Path, its empty. I see the exception when trying to hover over the member variables in your project. Probably because the src folder is not recognised as source folder and since the java file is in that folder, the hover is not working.Please recheck the same at your end.

    Please check if your source folders are configured properly before importing to MyEclipse 2014. You can compare your imported project with the newly created project in MyEclipse 2014.

    There is a bug in Spring tooling when trying to hover over a method on Java project which is fixed in Spring 3.4. Here is the bug for your reference : https://issuetracker.springsource.com/browse/STS-3462

    MyEclipse 2015 will integrate Spring 3.5 which includes the fix for this bug. The MyEclipse 2015 is expected to release in a month.

    Let us know how it works for you.

    #349497 Reply

    raydawg2000
    Participant

    Thanks for the info, the issue must be the Spring Tooling. I fixed the src folder issue and the problem still persists. When I open the same project in older verions of ME it works fine, its just ME2014 that has the issue. The only difference is that ME2014 is the only version I installed Spring Tooling on…so that must be it.

    i will check out that bug tracking and see if there are any temp solutions because it is pretty annoying not having that feature.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Cannot hyperlink public member variables in ME2014

You must be logged in to post in the forum log in