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 - Add Option to add folders from .gitignore to "Ignored Folders"
Summary: Add Option to add folders from .gitignore to "Ignored Folders"
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-09 12:58 UTC by pmaselkowski
Modified: 2015-11-09 13:05 UTC (History)
0 users

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 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`.