Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333647 - The extensions and contenttype attribute has no effect on snippets view
Summary: The extensions and contenttype attribute has no effect on snippets view
Status: NEW
Alias: None
Product: WTP Common Tools
Classification: WebTools
Component: Snippets Framework (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: Future   Edit
Assignee: wst.common CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-06 08:05 EST by Nicholas Lin CLA
Modified: 2011-02-01 19:02 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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