Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Inconsistencies in the general project view window #90

Open
DKnoto opened this issue Dec 16, 2023 · 4 comments
Open

Inconsistencies in the general project view window #90

DKnoto opened this issue Dec 16, 2023 · 4 comments
Assignees
Labels

Comments

@DKnoto
Copy link

DKnoto commented Dec 16, 2023

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
@DKnoto DKnoto added the bug Something isn't working label Dec 16, 2023
Copy link

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

@albilu
Copy link
Owner

albilu commented Dec 18, 2023

  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

@albilu albilu added wontfix This will not be worked on and removed bug Something isn't working wontfix This will not be worked on labels Dec 18, 2023
@albilu albilu closed this as not planned Won't fix, can't repro, duplicate, stale Dec 18, 2023
@DKnoto
Copy link
Author

DKnoto commented Dec 18, 2023

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

@albilu albilu reopened this Feb 16, 2024
@albilu albilu added the enhancement New feature or request label Feb 16, 2024
@albilu
Copy link
Owner

albilu commented Feb 16, 2024

Project logical view need improvment: #94

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants