Skip to content

Inconsistencies in the general project view window #90

@DKnoto

Description

@DKnoto

Description:
Some elements in the main window of the project should not be visible and some should be visible in other sections.

Steps to reproduce the behavior:
Create standard new project.

Expected behavior:

  1. In section Sources directory "src" should not be visible just as in the "Tests" section we do not see the "tests" directory;
  2. In sections Sources and Tests directory pycache should not be visible;
  3. File Makefile in main directory of project should be visible in section "Project Files" not in "Sources".

Screenshots:
netbeansPython-1 5-Project-Outline-View

Desktop:

  • OS: Linux Fedora 37 ppc64le 6.5.12-100
  • JDK Version: OpenJDK 17.0.8+7
  • Netbeans Version: 19
  • Python Plugin Version: 1.5

Activity

github-actions

github-actions commented on Dec 16, 2023

@github-actions

Thanks for reporting this issue, we will take a look on ASAP

albilu

albilu commented on Dec 18, 2023

@albilu
Owner
  1. In section Sources directory "src" should not be visible just as in the "Tests" section we do not see the "tests" directory;

Its the expected behaviour. "Sources": is the logical view for all files under the root project folder exept files in "tests" and some other priviledged files.

There is 2 main python project structure https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/

If you want the flat layout. Just delete the src folder and put your files directly under the root folder

2. In sections Sources and Tests directory pycache should not be visible;

You can configure wich files/directory you want to hide in Tools -> Options -> Miscellaneous -> Ignored Files Pattern

3. File Makefile in main directory of project should be visible in section "Project Files" not in "Sources".

There is no smooth way to achieve this. A Makefile is not really a Python related file i would say. I could hard code this but not very a good solution

added
wontfixThis will not be worked on
and removed
bugSomething isn't working
wontfixThis will not be worked on
on Dec 18, 2023
DKnoto

DKnoto commented on Dec 18, 2023

@DKnoto
Author

Thank you for the explanations but I do not agree with them. I will move these problems to the "Discussion" section.

reopened this on Feb 16, 2024
albilu

albilu commented on Feb 16, 2024

@albilu
Owner

Project logical view need improvment: #94

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @DKnoto@albilu

      Issue actions

        Inconsistencies in the general project view window · Issue #90 · albilu/netbeansPython