- This topic has 8 replies, 6 voices, and was last updated 20 years, 1 month ago by Riyad Kalla.
-
AuthorPosts
-
beasysMemberHello,
I just installed MyEclipse 3.8 GA on my windows box, and was using the jsp editor when I noticed a curious behaviour. Whenever I try to do code completion in a jsp for example Iterat<Ctrl+space>, I would expect it to add an <%@page import=…. %> directive at the top of my jsp, instead it does an inline completion of the class ie java.util.Iterator.
Is there a way to change this behaviour. I use to the <%@ page import directive across my jsp’s (and import … in java files) and would like my jsp editor to behave the same..
Thanks,
Jalpesh…
Riyad KallaMemberJalpesh,
I agree with you that should automatically perform an import, I’ll check on this for you.
TheGreymanMemberI ran into this same issue on MyEclipse 3.8.0/Eclipse 3.0, WinXP. Quite Confusing to follow through the nifty flash tutorial and have it (1) not perform the auto import (which also interferes with the other autocomplete of the HelloWorld.helloWord()), (2) shows yellow warning lines underneath any import added via <%@page import.. which I believe somewhere else on the forum mentioned it was a validation issue.
Scott AndersonParticipantUnfortunately, the JSP auto-import feature was lost when we changed our editor infrastructure, but only temporarily. We’re releaseing 3.8.1 very soon which will fix the validation issues and are scheduled to re-add the import feature in the next dot release. Sorry for the temporary inconvenience.
vanettenMemberDid the auto import feature make it into 3.8.1? I Just installed it and ctrl+space is still fully qualifying the class instead of adding an import.
P.S. Nice work on fixing so many bugs in just a week.
Riyad KallaMemberJohn,
Sorry we should have been more clear, the missing features and bells and whistle enhancements will be comming with 3.8.2 (including the auto import feature).
vanettenMemberAhhh…
Thanks. Sorry for interpreting the sentence wrong 🙂
mscheibeMember3.8.2 is out and feature is not added, or am i wrong?
Riyad KallaMember3.8.2 is out and feature is not added, or am i wrong?
Unforuntately you are not wrong, early in the 3.8.2 dev cycle we decided that there were enough bugs/optimizations that needed to get done that we would focus exclusively on fixes/improvements for 3.8.2. Our next feature release will be 3.9, however I know the lack of auto-import in JSP pages is terribly annoying, so I will see if we can bump up the priority on it.
-
AuthorPosts