You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ch...@apache.org on 2020/10/11 18:40:21 UTC
[netbeans] 01/01: Revert "NETBEANS-4893 - Added node_modules and
bower_components to the option ignore files pattern in the misc tab."
This is an automated email from the ASF dual-hosted git repository.
chrizzly pushed a commit to branch revert-2438-feature/NETBEANS-4893-extend-ignore-files-pattern
in repository https://gitbox.apache.org/repos/asf/netbeans.git
commit fb0ddcb57f99ba66acd0541c26156027d5db8334
Author: Chrizzly <ch...@gmx.net>
AuthorDate: Sun Oct 11 20:40:02 2020 +0200
Revert "NETBEANS-4893 - Added node_modules and bower_components to the option ignore files pattern in the misc tab."
This reverts commit 9de35cc4173f63d95a114c7aab163f6f8ab6a19f.
---
.../org/netbeans/core/ui/options/filetypes/IgnoredFilesPreferences.java | 2 +-
.../src/org/netbeans/modules/masterfs/GlobalVisibilityQueryImpl.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/platform/core.ui/src/org/netbeans/core/ui/options/filetypes/IgnoredFilesPreferences.java b/platform/core.ui/src/org/netbeans/core/ui/options/filetypes/IgnoredFilesPreferences.java
index b4d475f..d04dec7 100644
--- a/platform/core.ui/src/org/netbeans/core/ui/options/filetypes/IgnoredFilesPreferences.java
+++ b/platform/core.ui/src/org/netbeans/core/ui/options/filetypes/IgnoredFilesPreferences.java
@@ -42,7 +42,7 @@ final class IgnoredFilesPreferences {
private static final String PROP_IGNORE_HIDDEN_FILES_IN_USER_HOME
= "IgnoreHiddenFilesInUserHome"; // NOI18N
/** Default ignored files pattern. Pattern \.(cvsignore|svn|DS_Store) is covered by ^\..*$ **/
- static final String DEFAULT_IGNORED_FILES = "^(CVS|SCCS|vssver.?\\.scc|#.*#|%.*%|_svn)$|~$|^\\.(git|hg|svn|cache|DS_Store)$|^(node_modules|bower_components)$|^Thumbs.db$"; //NOI18N
+ static final String DEFAULT_IGNORED_FILES = "^(CVS|SCCS|vssver.?\\.scc|#.*#|%.*%|_svn)$|~$|^\\.(git|hg|svn|cache|DS_Store)$|^Thumbs.db$"; //NOI18N
static private String syntaxError;
private IgnoredFilesPreferences() {
diff --git a/platform/masterfs/src/org/netbeans/modules/masterfs/GlobalVisibilityQueryImpl.java b/platform/masterfs/src/org/netbeans/modules/masterfs/GlobalVisibilityQueryImpl.java
index 26d7884..eb1a99a 100644
--- a/platform/masterfs/src/org/netbeans/modules/masterfs/GlobalVisibilityQueryImpl.java
+++ b/platform/masterfs/src/org/netbeans/modules/masterfs/GlobalVisibilityQueryImpl.java
@@ -134,7 +134,7 @@ public class GlobalVisibilityQueryImpl implements VisibilityQueryImplementation2
protected String getIgnoredFiles() {
// \.(cvsignore|svn|DS_Store) is covered by ^\..*$
- String retval = getPreferences().get(PROP_IGNORED_FILES, "^(CVS|SCCS|vssver.?\\.scc|#.*#|%.*%|_svn)$|~$|^\\.(git|hg|svn|cache|DS_Store)$|^(node_modules|bower_components)$|^Thumbs.db$");//NOI18N;
+ String retval = getPreferences().get(PROP_IGNORED_FILES, "^(CVS|SCCS|vssver.?\\.scc|#.*#|%.*%|_svn)$|~$|^\\.(git|hg|svn|cache|DS_Store)$|^Thumbs.db$");//NOI18N;
PreferenceChangeListener listenerToAdd;
synchronized (this) {
if (preferencesListener == null) {
---------------------------------------------------------------------
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