This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
after the merge of the CDC and CLDC into one Mobility Pack it could be useful to put the code snippets into different categories - e.g. CLDC/MIDP, CDC/PP, etc. There is only one category "Mobility" with 2 snippets Form, Image that are dedicated for MIDP. However they are available for any source code in a mobile project. The best would be to provide only code snippets that *can be used* in active configuration (platform/configuration/profile)
I agree with the categories but not with limiting the visibility. There are various platforms available for Mobility projects and there will be many more them in the fututre and there might be even combination of them (CDC with MIDP and PP). I wouldn't suggest to hardcode any conditions for hiding the snippets.
ok, this does make sense. I agree with Adam that we should not hide the categories based on current configuration and so on. For one, even CLDC code that works on one device might not work on other CLDC device, e.g. MMAPI, JS172 are amongst some examples. This would either require a lot of work in terms of generating the snippets palette on the fly, or a change to the palette api which is not very realistic in the near future. I have to think about categories that would make the most sense some more and will then add them.