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.
As my daily work with a XML based framework with code behind files as in ASP.NET, I have some things which are missing for my perspective: I have this file: http://pastebin.com/jCY5n4fY - what I expected is to get code completion depends on the namespace. If we have xmlns:views="project.views" that I see a list when I type <views:indexView, or whatever. - namespace navigation. When I click on an svg in <svg:rect I should come to the namespace. For now its this point: <html xmlns:svg="" then I can click the link and I come to this site. If I have an example like: <views:indexView and I click on view it should navigate to <rootElement xmlns:views="myProject.views" and when I click on myProject or views it should navigate to this folder or select in inside the project. If I click on indexView, it should navigate to the file like the same behaviour in requirejs with the modules dependencies. - As I mentioned it here before https://netbeans.org/bugzilla/show_bug.cgi?id=243135, renaming feature is working but not correct if we have an other structure for an html5 project. In my daily work we have a lot of folders and no one is called public_html. The root folder is public and we have a lot of subfolders with view, modules, components etc. So for my perspective the renaming feature should work in all XML files, independent from the folder name or project type. - Breadcrumbs should work through elements like: <svg:rect>. In my file I only see html > body > thats all. - I would prefer navigation through the : and camelCase navigation <views:myView. Now my cursor is behind View and I press ctrl + <- (left arrow) and the cursor jumps to the beginning of the tag. Its better to have it between my|View and after this ctrl + <- :|myView, so I can rename only the part after :. The same for the beginning to the end. If I have more features would I prefer I will comment it, if its better to create new tickets for each feature, than please let me knows it. Regards Chris
(In reply to ChrisLE from comment #0) > - namespace navigation. When I click on an svg in <svg:rect I should come to > the namespace. For now its this point: <html xmlns:svg="" then I can click > the link and I come to this site. If I have an example like: > <views:indexView and I click on view it should navigate to <rootElement > xmlns:views="myProject.views" and when I click on myProject or views it > should navigate to this folder or select in inside the project. If I click > on indexView, it should navigate to the file like the same behaviour in > requirejs with the modules dependencies. Pls. elaborate: I understood that you want to navigate from namespace prefix to the relevant namespace declaration line - OK ? What is that about clicking 'myProject.views' - xmlns should be an URI but the NB would need to interpret the URI. Currently I can only support navigation to [relative] URLs. > If I have more features would I prefer I will comment it, if its better to > create new tickets for each feature, than please let me knows it. > Yes, it's better to file enhancements for each feature separately; it allows better tracking/merging.
Ok, I understand your point, than I would prefer to navigate to the file, when I click on <ns:MyWidget /> because myWidget should be a MyWidget.java file with a ui file. Thx for your feedback I will create new tickets for the other things.
Ah; is it a GWT project, or some e.g. bean mapping ?
Since half a year or so, it is a GWT project, yes. Before GWT, it was a web project with a framework based on XML and JS called rAppid.js. http://www.rappidjs.com/#/home. For this, we have a BasketClass.js file and a Basket.xml file.
Borken rename feature for XML components will be handled here: https://netbeans.org/bugzilla/show_bug.cgi?id=243135 as you already commented :)