facebook

[Closed] JSP Code Completion Not Working

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #259606 Reply

    k1rfd
    Member

    Following the example provided in the Help file for creating a new Web project and a new JSP, I cannot get Code Assist to work as expected. It also appears that syntax highlighting is not working right.

    The response to ctrl-space is always “No completions available”, even in the example provided in Help with “<% out.” (the JSP created with Default JSP Template).

    I suspect that syntax highlighting is also incomplete. The only words highlighted in this example are the word “import” in the @page tag, and string literals.

    Syntax errors in the JSP are not identified until after having saved the changes to the file; however, this may be normal.

    I read the other thread about JSP Code Assist, but this seems to be a more general and consistent problem.

    One minor difference I noted is that after creating a JSP in the WebRoot folder, the icon in my Package Explorer is an un-decorated letter “J”. In the Help example, the icon is a “J” with a globe.

    Thanks

    #259625

    Riyad Kalla
    Member

    Can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.

    #259661

    k1rfd
    Member

    The Configuration Summary is pasted below.

    More info: When I right-click a JSP file in the Package Explorer and choose Open With, the only choices listed are Java Editor, Text Editor, System Editor, In-Place Editor, and Default Editor. I do not see the MyEclipse editor(s) listed.

    ==========================

    *** Date: Mon Oct 02 09:51:13 EDT 2006

    *** System properties:
    OS=Windows2000
    OS version=5.0
    Java version=1.4.2_03

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.1.1 GA
    Build id: 20060309-4.1.1-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Platform

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse RCP

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Java Development Tools

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Plug-in Development Environment

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Project SDK

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\eclipse-3.1.2\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    6ac_74
    -vm
    C:\j2sdk1.4.2_03\bin\javaw.exe

    #259689

    Riyad Kalla
    Member

    Your installation looks OK, but that is strange that you don’t see MyEclipse editor options, could you try and check for exceptions in your log file during startup to see if that sheds any light on the issue?

    (<workspace dir>\.metadata\.log)

    #259789

    k1rfd
    Member

    There are no recent errors in the .log file.

    I mis-spoke earlier. The Open With options for JSPs do include MyEclipse JSP Editor and JSP Designer, both of which seem to work as expected when chosen. So I think the only problem had been that the default for Open on JSPs was still “Java Editor”.

    I was able to solve this by going to Preferences, General, Editors, File Associations and changing the default for .jsp to MyEclipse JSP Designer. Evidently this was not automatically set when I installed MyEclipse.

    Thanks!

    #259873

    Riyad Kalla
    Member

    Very cool, glad it’s fixed.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: [Closed] JSP Code Completion Not Working

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