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.
Created attachment 149678 [details] Screenshot of the files I am referring to I am working on a project which is using git, so I can work at home and at the office. I have added two new files to the project (and added them to git) on my home machine. When I did a git pull on my work machine I can see the new files but the icons are grayed out and I get nothing in the navigator or any other help component from netbeans. I have tried re-parsing the project but that does nothing.
Hi antoniocs, Did you put NetBeans project (nbproject folder) in git? Alexander
No, the nbproject is not under version control I did add the folder to the .gitignore file. (In reply to Alexander Simon from comment #1) > Hi antoniocs, > > Did you put NetBeans project (nbproject folder) in git? > > Alexander
The IDE does not have any chance to understand what is changed. Right way is put nbproject in git and put nbroject/private in the ignore list.
Ok, but the files did appear in the Project treeview without any action from my part. So now how can I just tell netbeans to treat these files the same as it treats the other .c files? (In reply to Alexander Simon from comment #3) > The IDE does not have any chance to understand what is changed. > Right way is put nbproject in git and put nbroject/private in the ignore > list.
(In reply to antoniocs from comment #4) > Ok, but the files did appear in the Project treeview without any action from > my part. > So now how can I just tell netbeans to treat these files the same as it > treats the other .c files? There is 2 ways: 1. project properties->code assistance->advanced->extra source files 2. build the project (and reconfigure if your platform is windows)
(In reply to Alexander Simon from comment #5) ... and reconfigure if your platform is windows I guess nobody but cnd dev team knows what "reconfigure" means :) I think you meant pressing a button "Configure Code Assistance" that resides at the left of the build output window, right?
(In reply to Vladimir Kvashin from comment #6) > (In reply to Alexander Simon from comment #5) > ... and reconfigure if your platform is windows > I guess nobody but cnd dev team knows what "reconfigure" means :) > I think you meant pressing a button "Configure Code Assistance" that resides > at the left of the build output window, right? yes