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.
Summary: | Please add view definition inline for modules, methods and so on. | ||
---|---|---|---|
Product: | javascript | Reporter: | Christian Lenz <chrizzly> |
Component: | Editor | Assignee: | Petr Pisl <ppisl> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | Dev | ||
Hardware: | PC | ||
OS: | Other | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Christian Lenz
2017-02-28 11:48:44 UTC
Here you can see it too for react components: https://blog.jetbrains.com/webstorm/2015/10/working-with-reactjs-in-webstorm-coding-assistance/ scroll a bit to see the part with the <HelloMessage />. So for React, angular and angular2 it is needed too. For this, the HTML editor and JS editor should know each components of the whole application. When I use <my-test-comp /> I should navigate to the JS code or html, I don't know what makes more sense, maybe a hint to choose HTML or JS file to navigate and see the component code (HTML or JS). The whole application should be aware of each components. Doesn't matter whether you use Web-Components, React, Angular1, Angular2, Vuejs maybe but this is not implemented yet so maybe we can ignore it. Here you can see directly what I mean: https://d3nmt5vlzunoa1.cloudfront.net/webstorm/files/2015/10/react_quick_definition.png |