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 202146

Summary: Allow hgignore to be edited in NetBeans
Product: versioncontrol Reporter: tim_sa <tim_sa>
Component: MercurialAssignee: Tomas Stupka <tstupka>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description tim_sa 2011-09-14 17:34:24 UTC
[ BUILD # : 201109110600 ]
[ JDK VERSION : 1.7 ]

Often when setting up new repositories I have to add items to the .hgignore
file, in which case i need to leave the IDE and open the file in notepad/gedit.

Could hgignore be shown as a normal file in the file window of netbeans, or
alternatively on the mercurial context menu
<project Name> -> Mercurial -> edit hgignore
Comment 1 Ondrej Vrabec 2011-09-15 08:43:34 UTC
Sure it can be displayed, just edit the global ignored files pattern in Tools > Options > Misc > Files (Ignored Files Pattern:) in the way that the pattern does not match the file.
BTW, if you edit the file while the IDE is running, Mercurial plugin won't recognize the change and will continue showing newly ignored files still unignored and vice versa.