[jira] [Commented] (NETBEANS-17) Please add more analyse tools for JavaScript

2021-02-06 Thread Christian Lenz (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17280253#comment-17280253
 ] 

Christian Lenz commented on NETBEANS-17:


Sooner or later, maybe :). And what you want to try to help here to move this 
forward?

> Please add more analyse tools for JavaScript
> 
>
> Key: NETBEANS-17
> URL: https://issues.apache.org/jira/browse/NETBEANS-17
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javascript - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As we have it for Java, PHP and I think for C/C++, I would like to see more 
> analyse tools like dependency resolver for require modules, ES6 Modules, 
> angular modules and other module frameworks (Show dependencies is deactivated 
> for JS projects), find dead code, find duplicate code and so on.
> There is a plugin for such things called PMD but last changes was made in 
> 2012 and it doesn't work as expected. For other languages you have to add 
> rulesets which is kinda broken and so on.
> Such code analyse tools would be very great and will increase the quality of 
> big JS applications. It should be a build in functionality to search and fix 
> dead code, duplicates and so on.
> It is really needed that we have such functionality to find dead code / 
> unused variables for example.
> In angular, if you remove functionality inside a controller or a service and 
> you don't remove the arguments, like the dependend module, that you use, they 
> will be resolved at runtime and this is a bad pattern. So if you forgot to 
> remove the argument like myService, netbeans shows you "unused code". A 
> functionality to find ALL unused code in a JS project, is really needed and 
> to fix them too.
> There is a nice thing called spy.js. WebStorm has it integrated and you can 
> profile Websites with JS AND node apps. You can see the call tree where, for 
> example you click on smth and you see what happend. it's more than a 
> debugger, you see CPU usages, time and so on. Here is a link to this: 
> http://blog.jetbrains.com/webstorm/2014/04/spy-js-webstorm-secret-service/
> Here are some more links:
> http://blog.jetbrains.com/webstorm/2015/05/node-js-profiling-in-webstorm-part-1-cpu-profiling/
> http://blog.jetbrains.com/webstorm/2015/07/node-js-profiling-in-webstorm-part-2-memory-profiling/
> V8 profiling:
> https://www.jetbrains.com/help/webstorm/11.0/v8-cpu-and-memory-profiling.html?origin=old_help
> This is an other technology, which is I think built into the V8 engine.
> So keywors are: dead code detection, resolve/fix missing/unused imports (ES6 
> modles), copy paste detection, etc. We can handle this as sub tickets if you 
> want.
> Regards
> Chris



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-17) Please add more analyse tools for JavaScript

2021-02-05 Thread Geertjan Wielenga (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17280028#comment-17280028
 ] 

Geertjan Wielenga commented on NETBEANS-17:
---

Are you planning to move this to the next stage, Chris? I.e., a functional 
description or user interface design? Something?

> Please add more analyse tools for JavaScript
> 
>
> Key: NETBEANS-17
> URL: https://issues.apache.org/jira/browse/NETBEANS-17
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javascript - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As we have it for Java, PHP and I think for C/C++, I would like to see more 
> analyse tools like dependency resolver for require modules, ES6 Modules, 
> angular modules and other module frameworks (Show dependencies is deactivated 
> for JS projects), find dead code, find duplicate code and so on.
> There is a plugin for such things called PMD but last changes was made in 
> 2012 and it doesn't work as expected. For other languages you have to add 
> rulesets which is kinda broken and so on.
> Such code analyse tools would be very great and will increase the quality of 
> big JS applications. It should be a build in functionality to search and fix 
> dead code, duplicates and so on.
> It is really needed that we have such functionality to find dead code / 
> unused variables for example.
> In angular, if you remove functionality inside a controller or a service and 
> you don't remove the arguments, like the dependend module, that you use, they 
> will be resolved at runtime and this is a bad pattern. So if you forgot to 
> remove the argument like myService, netbeans shows you "unused code". A 
> functionality to find ALL unused code in a JS project, is really needed and 
> to fix them too.
> There is a nice thing called spy.js. WebStorm has it integrated and you can 
> profile Websites with JS AND node apps. You can see the call tree where, for 
> example you click on smth and you see what happend. it's more than a 
> debugger, you see CPU usages, time and so on. Here is a link to this: 
> http://blog.jetbrains.com/webstorm/2014/04/spy-js-webstorm-secret-service/
> Here are some more links:
> http://blog.jetbrains.com/webstorm/2015/05/node-js-profiling-in-webstorm-part-1-cpu-profiling/
> http://blog.jetbrains.com/webstorm/2015/07/node-js-profiling-in-webstorm-part-2-memory-profiling/
> V8 profiling:
> https://www.jetbrains.com/help/webstorm/11.0/v8-cpu-and-memory-profiling.html?origin=old_help
> This is an other technology, which is I think built into the V8 engine.
> So keywors are: dead code detection, resolve/fix missing/unused imports (ES6 
> modles), copy paste detection, etc. We can handle this as sub tickets if you 
> want.
> Regards
> Chris



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-17) Please add more analyse tools for JavaScript

2020-06-13 Thread Christian Lenz (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17134968#comment-17134968
 ] 

Christian Lenz commented on NETBEANS-17:


This is also still relevant here and don't need to be resolved as abandonded. 
NetBeans is lack of a lot of features for web stuff for HTML, CSS and JS. Again 
if no one is respnsible here, it doesn't mean that this is not relevant 
anymore. Closing without adding a comment or reaction from you is not very nice 
here.

> Please add more analyse tools for JavaScript
> 
>
> Key: NETBEANS-17
> URL: https://issues.apache.org/jira/browse/NETBEANS-17
> Project: NetBeans
>  Issue Type: New Feature
>  Components: javascript - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Priority: Major
>
> As we have it for Java, PHP and I think for C/C++, I would like to see more 
> analyse tools like dependency resolver for require modules, ES6 Modules, 
> angular modules and other module frameworks (Show dependencies is deactivated 
> for JS projects), find dead code, find duplicate code and so on.
> There is a plugin for such things called PMD but last changes was made in 
> 2012 and it doesn't work as expected. For other languages you have to add 
> rulesets which is kinda broken and so on.
> Such code analyse tools would be very great and will increase the quality of 
> big JS applications. It should be a build in functionality to search and fix 
> dead code, duplicates and so on.
> It is really needed that we have such functionality to find dead code / 
> unused variables for example.
> In angular, if you remove functionality inside a controller or a service and 
> you don't remove the arguments, like the dependend module, that you use, they 
> will be resolved at runtime and this is a bad pattern. So if you forgot to 
> remove the argument like myService, netbeans shows you "unused code". A 
> functionality to find ALL unused code in a JS project, is really needed and 
> to fix them too.
> There is a nice thing called spy.js. WebStorm has it integrated and you can 
> profile Websites with JS AND node apps. You can see the call tree where, for 
> example you click on smth and you see what happend. it's more than a 
> debugger, you see CPU usages, time and so on. Here is a link to this: 
> http://blog.jetbrains.com/webstorm/2014/04/spy-js-webstorm-secret-service/
> Here are some more links:
> http://blog.jetbrains.com/webstorm/2015/05/node-js-profiling-in-webstorm-part-1-cpu-profiling/
> http://blog.jetbrains.com/webstorm/2015/07/node-js-profiling-in-webstorm-part-2-memory-profiling/
> V8 profiling:
> https://www.jetbrains.com/help/webstorm/11.0/v8-cpu-and-memory-profiling.html?origin=old_help
> This is an other technology, which is I think built into the V8 engine.
> So keywors are: dead code detection, resolve/fix missing/unused imports (ES6 
> modles), copy paste detection, etc. We can handle this as sub tickets if you 
> want.
> Regards
> Chris



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists