我看到我的一些项目在 NetBeans 的“项目”窗口下有“重要文件”文件夹。并非所有项目都有这个。这也不是磁盘上的物理文件夹,并且在“源文件”文件夹下列出了已经存在的文件。那是什么以及 NetBeans 如何填充此文件列表?我使用的是 NetBeans 7.2 版
最佳答案
扩展 PHP 项目的插件,无论是原生的还是第三方的,都能够定义对项目很重要且开发人员可能需要快速访问的特定文件或目录。
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...
我不能确切地说出为什么您的一些项目有或没有这个“重要文件”节点,但我知道在我自己的一个项目中,Netbeans 对 PHP 包管理器的 native 支持“Composer"如果在项目文件夹中找到该文件,将显示带有 composer.json
的重要文件。
关于php - 什么是 netbeans 中的重要文件文件夹项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12319509/