You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Christian Lenz (Jira)" <ji...@apache.org> on 2020/11/13 16:38:00 UTC

[jira] [Commented] (NETBEANS-4893) Add node_modules and bower_components to the file ignore pattern

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

Christian Lenz commented on NETBEANS-4893:
------------------------------------------

So unfortunately, this is not going to work, due to killing the indexing. The problem here is the old parser/indexer of all the JS files and folders. In WebStorm there is just ~2 min to index the same amount of node_modules files and folders (The node_modules folder has 115.605 files and 18.964 folders). So this will just kill the index but also all code completion for the dependent packages. There needs to be a better indexer for the JS/TS Files inside of the node_modules folder.

> Add node_modules and bower_components to the file ignore pattern
> ----------------------------------------------------------------
>
>                 Key: NETBEANS-4893
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4893
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: platform - Options&amp;Settings, web - HTML Project
>            Reporter: Christian Lenz
>            Assignee: Christian Lenz
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> When using NetBeans for the very first time and opening a web project with a package.json and node_modules and a bower.json and bower_components, NetBeans tries to indexing also the node_modules and the bower_components. If I don't want it, I can add both folders to the file ignores pattern into the options.
> The problem is, that a new user doesn't know this at the beginning of using NetBeans so it is needed to add those folders to the default files ignore pattern. I will do this.



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

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

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