Replies: 16 comments 5 replies
-
you don't have to find the class again in the files view if you have it already open in the editor.
If you don't like using hot keys, you can also sync it automatically via |
Beta Was this translation helpful? Give feedback.
-
Thanks, although your suggestion can solve many of my problems, but what I want to express is that I want to improve the existing view presentation to make the IDE simpler and more powerful, and at the same time more friendly and convenient for developers. In short, simple and powerful, friendly and convenient. |
Beta Was this translation helpful? Give feedback.
-
The distinction between logical view and the plain file view is a key facet of NetBeans' project support, and part of what makes it powerful. I don't think we'd see a merging of these two concepts accepted. I do think that some of the logical views could be enhanced somewhat so that use of the file tab is less necessary (eg. with Maven, showing readme, etc; accessing resource, assembly descriptors, and other locations even when the locations don't exist on disk). I would suggest considering what you think is missing in the project tab view, and take it from there.
Cannot reproduce, but you're the second person who has suggested this happening - please open another issue. |
Beta Was this translation helpful? Give feedback.
-
Yes, essentially it doesn't matter whether the two views are merged or not, the fundamental thing is that we want Netbeans to be more powerful, more convenient and better in terms of file display and manipulation. |
Beta Was this translation helpful? Give feedback.
-
what does this mean? |
Beta Was this translation helpful? Give feedback.
-
So my understanding of the two views are: Project View - is project type specific with enhancements specific to a given project, allowing customized behavior based on the project type (i.e., Maven project allows maven dependency functionality, Java project allow "package based views", etc.) which may hide or arrange things in such a way as to simplify things for a given project type File View - provides a basic show the raw files within a given folder/project without any customizations, so it requires drilling down to specific folders to find a specific file instead of a "package" view, it shows all files (i.e., show a pom.xml where it's stored, .gitignore, etc.) Favorites View - (not included in the original context but also helpful) identifies specific folders of interests; so specific project, sub-projects or sub-folders can be added and usable to navigate towards So I think there are different use cases for each but once the usages is more familiar, I think it's good the way it is. |
Beta Was this translation helpful? Give feedback.
-
翻译结果 Yes, what you said makes sense, but I think the files in the project directory belong to the project itself, so why can't I see some of the project's files in the project view and have to switch views to find those files. In fact, my core point is to merge the functionality of the two views to complement each other, and the development team can make a comprehensive consideration as to whether to actually merge the two views. It is important to emphasize that the key word for the purpose of my proposal is "convenience", because as of now, Netbeans is not really convenient for viewing files. This can be referred to Eclipse, Idea, VSCode and other IDEs. |
Beta Was this translation helpful? Give feedback.
-
because the Projects view is no file browser it is a source code browser and contains nodes which don't even exist as files as previously mentioned. This is no view of the file system. |
Beta Was this translation helpful? Give feedback.
-
Thank you, your explanation is very clear and I understand very well what you are saying. "files in the project directory belong to the project itself" is my personal opinion, because I think the project view should be able to view and manage all the files under the project. You can disagree with me, but hopefully the file display can be improved to make it easier to use like IDEs like Eclipse. |
Beta Was this translation helpful? Give feedback.
-
unlikely that this is going to happen. All views have their purpose and can be used at the same time or switched between based on what you are doing. edit: I could imagine for example making the "Important Files" node more configurable so that it can be customized on a per-project basis. |
Beta Was this translation helpful? Give feedback.
-
I think this solution is feasible to support custom display of files or directories under the per-project. |
Beta Was this translation helpful? Give feedback.
-
I use this plugin https://github.com/Chris2011/ShowIgnoredFiles (it has some bugs but it is better then nothing) and I think a similar thing should be a part of the Projects view out of the box. There are many files which are connected to a project and I have to switch to Files. For example Spotbugs, PMD, |
Beta Was this translation helpful? Give feedback.
-
I strongly vote against a merge of project and files view. However, some improvements could be made:
Java
Those are java maven project remarks. Maybe for gradle or ant build projects there are other improvement ideas. |
Beta Was this translation helpful? Give feedback.
-
Moving this over to discussions. There isn't anything specifically actionable here at the moment. Various things discussed could be separate issues or PRs. |
Beta Was this translation helpful? Give feedback.
-
I aggree with all people. I aggree to not have a merged one and also I like just one view and not 2 or so. So maybe what could it be, we can maybe create a simpler one as an alternative like VS Code has. So you can switch to Project View which has everything or splitted into Project and Files. What do you think? |
Beta Was this translation helpful? Give feedback.
-
Have to be cautious as touched on previously, as some languages or specific
case support providing specific decorations to project views tailored to
the specific language.
[image: image.png]
Also the project types have different properties and node characteristics
which might have to be combined in some fashion.
For example, a Maven based Java project is slightly different from Ant
projects impacting projects properties.
[image: image.png]
If combined then that may confuse things a little for example with a
Maven project a "pom.xml" can be found in the "Project Files" in the
Project view and in the Files view it is found in the root folder.
Is it worth considering, rather than combining the two, to create a
"Consolidated view" that provides both?
Or maybe have some option settings to allow some additional details to show
in a project view?
I'm also reminded of the "Favorites" view which is similar to the Files
view but there's that.
Eric Bresie
***@***.***
…On Mon, Sep 4, 2023 at 1:15 AM Tobias ***@***.***> wrote:
I do not see any benefits of a merged view. Project View and File View do
display different stuff for a different level of abstraction. I agree that
the Project View should be able to display additional files, but where it
presents it (node "important files", "additional resources", ...) should be
configurable.
—
Reply to this email directly, view it on GitHub
<#6387 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC2RTTHU3BTX52RK66J76LXYVWZ5ANCNFSM6AAAAAA4JGZTQU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Description
Until now I can not understand why there are two views of the Projects view and Files view instead of a Project Files view. For example, I have a maven project root directory institutions include: src directory and help directory, pom.xml, LISENCE, README.md, package.xml (maven-assembly-plugin's package description file) and so on. As shown in the picture:
Usually in coding development Projects view is the most common view, but this view only shows src directory and pom.xml file, I have to switch to Files view to see other files, but when in Files view, I have to open the class files step by step when I see them. To sum up, it is convenient to view class files in Projects view but not other files, and convenient to view other files in Files view but not class files. Therefore, it is highly recommended to merge Projects view and Files view to integrate the advantages of both, which is also the choice of most IDEs or code editors.
Use case/motivation
No response
Related issues
No response
Are you willing to submit a pull request?
No
Beta Was this translation helpful? Give feedback.
All reactions