Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332944 - Content assist doesn't work on non Java files which are under version control but got automatically checked out because of edit action, unless they are closed and reopened.
Summary: Content assist doesn't work on non Java files which are under version control...
Status: CLOSED DUPLICATE of bug 281872
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xml (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: wst.xml CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-20 09:05 EST by Balázs Bessenyei CLA
Modified: 2010-12-21 03:37 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Balázs Bessenyei CLA 2010-12-20 09:05:39 EST
Build Identifier: M20100909-0800

Content assist doesn't work on non Java files (like JSP, XML) which are under version control, but got automatically checked out because of edit action, unless they are closed and reopened.

I have only encountered this under perforce, since it is the version control use on my current project.

Reproducible: Always

Steps to Reproduce:
1. Have a file under version control (which is read only until it get checked out, like perforce)
2. Open the file while it is not checked out.
3. Start to edit the file (this will trigger an automatic checkout of the file)
4. Content Assist doesn't work 
5. Close the file editor
6. Reopen the file, then content assist is working
Comment 1 Nick Sandonato CLA 2010-12-20 12:57:30 EST
Hello. This should be resolved by Bug 281872 in the next service release of Helios. Thanks for your bug report.

*** This bug has been marked as a duplicate of bug 281872 ***
Comment 2 Balázs Bessenyei CLA 2010-12-20 16:22:52 EST
The above problem is also true for XMLs. I will wait for the next service release and see if the XML is also fixed. Also sorry about the duplicate.
Comment 3 Nick Sandonato CLA 2010-12-20 16:34:28 EST
(In reply to comment #2)
> The above problem is also true for XMLs. I will wait for the next service
> release and see if the XML is also fixed. Also sorry about the duplicate.

It was a problem with our base content assistant, so XML is also included in the fix. Don't worry about the duplicate, it happens.
Comment 4 Balázs Bessenyei CLA 2010-12-20 17:48:14 EST
(In reply to comment #3)
> (In reply to comment #2)
> > The above problem is also true for XMLs. I will wait for the next service
> > release and see if the XML is also fixed. Also sorry about the duplicate.
> 
> It was a problem with our base content assistant, so XML is also included in
> the fix. Don't worry about the duplicate, it happens.

After checking out the linked issue throughly it seems that XMLs will be fixed as well. Now I just have to get a build, which already includes the fix, I can`twait till the end of february.
http://download.eclipse.org/webtools/downloads/drops/R3.2.3/M-3.2.3-20101216132833/ Seems like a good first attempt.

This will eliminate an extremely annoying problem from Eclipse, at least from my point of view.

Thanks again for the fix.
Comment 5 Balázs Bessenyei CLA 2010-12-21 03:37:46 EST
Using the above repository fixed the content assist in both JSP and XML.