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.

Bug 250844 - Please add feature to ignore a folder from synchronization.
Summary: Please add feature to ignore a folder from synchronization.
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: FTP Support (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-02 21:53 UTC by Christian Lenz
Modified: 2018-01-23 07:15 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Lenz 2015-03-02 21:53:24 UTC
I have a PHP project based on a remote server. I do a synchronization via safe, everything is fine. Now I added a gulp file via npm install gulp to a directory and the problem is, that node_modules now synchronize with the remote host.

First, I would like to cancel the synchronization and second, I would like to set those folder to ignore. Via the context menu, I didn't find anything about that.


Cheers,

Chris
Comment 1 Mikk3lRo 2015-06-10 18:59:42 UTC
Might be nice to include node_modules in the default ignore pattern since gulp and grunt are moving into netbeans... but just in case anyone comes across this, or the OP hasn't found a solution yet...

Go to "Tools" -> "Options" -> "Miscellaneous" and add node_modules to "Ignored Files Pattern" text box...

Fx:
---
^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn|node_modules)$|~$|^\.(?!(htaccess|git.+|hgignore)$).*$
---

This prevents the folder from showing in the project explorer (don't know if that is desirable for everyone but for me it is) - and also has the desired effect of not being synced to the remote host (as well as GIT etc. I suppose...?)