MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
vladchuk
Post subject: JSP code insight  PostPosted: May 19, 2003 - 10:24 PM
Registered Member
Registered Member


Joined: May 16, 2003
Posts: 23

I can't get the JSP code insight to work for existing JSP's - they are part of the web module that was created by converting Eclipse project.

The newly created ones are fine but not the old ones. They do compile, though. Any ideas?

Regards,
vladchuk
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: May 20, 2003 - 02:46 AM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6761

Vladchuk,

Can you provide some more detail for us:
I assume by "insight" you're referring to tag and code completion?
What does the project directory structure look like?
Are both the new and old JSP's under the Web Root?
Are they in the same directory?
Is all completion working in the "new" JSP's but not the "old" ones?
Can you duplicate an old one under a new name and does completion begin to work for it under the new name?
Do you notice anything that is obviously different between the new and old JSP's?

--Scott
MyEclipse Support

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
vladchuk
Post subject:   PostPosted: May 20, 2003 - 06:09 PM
Registered Member
Registered Member


Joined: May 16, 2003
Posts: 23

Yes, I think JBulider called this feature "code insight".

Unfortunately, I can't put my finger on this behavior but I'll try to answer
your questions.

-the project structure conforms to that of a webapp: source, webroot, etc.
-both new and old JSP's are under webroot.
-I tried same directory - no change, that is, new ones work old ones don't
-no obvious difference between the old ones and new ones.

In general, there seems to be no well defined pattern for the behavior. Sometimes, the old one start working after doing something to them (? - making them writable ??), then they stop working at will (after copying another old one from a different directory ??). There is nothing in the Eclipse log, no hints there.

Any more ideas?

Regards,
vladchuk
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: May 20, 2003 - 08:02 PM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6761

Could it be that some of the JSPs are being opened with another, older, editor and the new ones are the only ones opened with our editor? Can you right-click and select 'Open with...' to be sure? Just a thought.

--Scott

MyEclipse Support

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
vladchuk
Post subject:   PostPosted: May 20, 2003 - 10:03 PM
Registered Member
Registered Member


Joined: May 16, 2003
Posts: 23

I made sure they are opened with the same (yours) editor. I even deleted *.jsp from the file association list. No change.

Anything else we can try? I'm really out of ideas.

Regards,
vladchuk
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: May 20, 2003 - 11:45 PM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6761

Does the completion stop working on Java, taglibs, and HTML tags simultaneously or on just one or the other?

How about creating a fresh web project and then copying one of the "old" and one of the "new" jsp's into it, just to see if the behavior is different.

--Scott

MyEclipse Support

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
vladchuk
Post subject:   PostPosted: May 21, 2003 - 06:12 PM
Registered Member
Registered Member


Joined: May 16, 2003
Posts: 23

Scott,
Now that you mentioned it I noticed that code completion doesn't work for java sorce files. That is, it works for some not others. So this may be my overall configuration issue after all. I wish I new what...

Thanks,
vladchuk
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: May 21, 2003 - 06:15 PM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6761

There were some issues with older versions of the X-Men XML plugin causing this type of issue on Eclipse 2.1. Do you happen to have that directly installed in your plugins directory? Just a thought.

--Scott
MyEclipse Support

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
vladchuk
Post subject:   PostPosted: May 21, 2003 - 10:55 PM
Registered Member
Registered Member


Joined: May 16, 2003
Posts: 23

Whew - the mystery is finally solved!

The behavior is very predictable after all - for code completion to work the file must not be read only AND it must be closed and reopend after it is made writable.

Thanks for all your help and patience, Scott.

Best regards,
vladchuk

P.S. The "remember me" feature ceased to work on your website a while ago - can it be fixed?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: May 21, 2003 - 10:58 PM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6761

Glad you figured it out! It makes sense though, why would you need code assistance on a file you can't write anyway? :-)

I'll forward along the info about the "remember me" feature and see what we can do.

--Scott

MyEclipse Support

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits