6

I see some of my projects have 'Important Files' folder under Projects window in NetBeans. Not all projects have this. That is not a physical folder on disk either and have listing of already existing files under 'Source Files' folder. What is that and how NetBeans populates this list of files? I am using NetBeans version 7.2

j0k
  • 22,600
  • 28
  • 79
  • 90
Vipin Kr. Singh
  • 672
  • 2
  • 11
  • 29

2 Answers2

3

Plugins that extend PHP projects, be them stock or third-party, have the ability to define specific files or directories that are important to the project and developers may need quick access to.

This is demonstrated by an official tutorial made specifically to explain how to extend a project type to add the "Important Files" node to the logical project view.

New NetBeans IDE APIs since NetBeans IDE 6.0 enable you to add new nodes to an existing project type's logical view, new objects to an existing project type's lookup, and new panels to an existing project type's Project Properties dialog box. For example, in this tutorial, to illustrate these extensions, we extend the web application project type's logical view, by adding a new "Important Files" node, exposing the content of the project's "nbproject" folder...

I can't say exactly why some of your projects have or do not have this "Important Files" node present, but I do know in the case of one of my own projects that Netbeans's native support for the PHP package manager "Composer" will show the Important Files with composer.json if it finds that file in the project folder.

p0lar_bear
  • 2,203
  • 2
  • 21
  • 31
-5

Vipin:

The "nbproject" is the most important folder. If you delete this folder, and after that, you start a new project in netbeans, it's like beginning your project from zero.

Joel Hernandez
  • 2,195
  • 1
  • 13
  • 17
  • 1
    I think this is not an answer to the question. This answer does not speak about the "import file" folder on netbeans, in the netbeans windows, but speaks about the projects configuration's files. – Julien Fastré Jan 01 '16 at 21:48
  • While this answer is correct in that `nbproject` is a very important folder for a NetBeans project, this does not answer the question at all. – p0lar_bear Feb 23 '16 at 18:51
  • How is this the correct answer @Vipin? The answer below is more relevant! – rac3b3nn0n Nov 30 '18 at 15:41