Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333647

Summary: The extensions and contenttype attribute has no effect on snippets view
Product: [WebTools] WTP Common Tools Reporter: Nicholas Lin <colinlin1982>
Component: Snippets FrameworkAssignee: wst.common <wst.common-inbox>
Status: NEW --- QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: Future   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Nicholas Lin CLA 2011-01-06 08:05:55 EST
Build Identifier: 20100917-0705

I make a extension to snippets category, which has extensions and contenttype attribute. I set the values like this:
extensions="*.java" contenttype="org.eclipse.jdt.core.javaSource"
But it doesn't work. The category is always shown whatever resource is focused.
And I notice that the JSP category contributed by org.eclipse.wst.common.snippets is shown as well. So I think this must be a bug.

Reproducible: Always

Steps to Reproduce:
1.Just open the snippets view
2.Open any resource file you like
3.There it happens, never hiden JSP category