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 256461

Summary: Add Option to add folders from .gitignore to "Ignored Folders"
Product: php Reporter: pmaselkowski
Component: ProjectAssignee: Tomas Mysik <tmysik>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description pmaselkowski 2015-11-09 12:58:46 UTC
Background:
When using git there are ignored folders defined in `.gitignore`.

It would be nice (optional) feature to automatically add this patterns to "Ignored Folders" project tab.

Current Behavior:
Currently we have to add ignored folders to `.gitignore` and then repeatedly in project properties.

Expected Behavior:
Assume option to import `.gitignore` is active.
When creating project containing `.gitignore` - folders from `.gitignore` are added to project's "Ignored Folders".
Comment 1 pmaselkowski 2015-11-09 13:05:11 UTC
Use case:

1. Create project folder from pre-defined setup, for instance with .gitignore
2. Create NB project with existing sources

Current behavior:
3. Install packages. NB scans it all and/or starts uploading

Expected:
3. Install packages. Folders for packages are ignored because they are in `.gitignore`.