Community
Participate
Working Groups
Created attachment 151128 [details] fix I20091027-0100 + org.eclipse.wst.jsdt.ui from HEAD Opening the preferences dialog the first time Eclipse starts (target or host) always results in an entry in my log: Invalid preference page path: JavaScript The reason is because the main JavaScript preference page specifies a parent node that does not exist (org.eclipse.wst.html.ui.preferences.web for reference).
Hmm, this is problematic because when we have the HTML component installed, we actually want the JavaScript pages to show up under the "Web" category it contributes. Even then, though, there's value in not requiring them to properly run the core JavaScript IDE. Any suggestions?
Maybe there is some way to suppress the error from being reported? Paul is there anything we can do here to say "if the Web root page is available make the JavaScript one a child, else make the JavaScript page a root?"
(In reply to comment #2) > Paul is there anything we can do here to say "if the Web root page is available > make the JavaScript one a child, else make the JavaScript page a root?" I don't believe so. Is the preference page showing up (just in the root) or is it not showing up at all (which I would think is a problem)? Another option would be to add the category node. Oleg, what would be the easiest way to deal with this scenario: If the web stuff is not installed, generate a container page for the JavaScript preference page. It looks like it does appear at the top: org.eclipse.ui.internal.registry.CategorizedPageRegistryReader.processNodes() PW
(In reply to comment #3) > > I don't believe so. Is the preference page showing up (just in the root) or is > it not showing up at all (which I would think is a problem)? The JavaScript page shows up as the root page with only JSDT available
So you don't (In reply to comment #3) > I don't believe so. Is the preference page showing up (just in the root) or is > it not showing up at all (which I would think is a problem)? > > Another option would be to add the category node. Oleg, what would be the > easiest way to deal with this scenario: > > If the web stuff is not installed, generate a container page for the JavaScript > preference page. > > It looks like it does appear at the top: > org.eclipse.ui.internal.registry.CategorizedPageRegistryReader.processNodes() Any idea what name it would pick for this node? I'm all for the current behavior sans log output.
Applied, thanks Michael.