- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
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:
- In section Sources directory "src" should not be visible just as in the "Tests" section we do not see the "tests" directory;
- In sections Sources and Tests directory pycache should not be visible;
- File Makefile in main directory of project should be visible in section "Project Files" not in "Sources".
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
Metadata
Metadata
Assignees
Labels
Projects
Milestone
Relationships
Development
Select code repository
Activity
github-actions commentedon Dec 16, 2023
Thanks for reporting this issue, we will take a look on ASAP
albilu commentedon Dec 18, 2023
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
You can configure wich files/directory you want to hide in Tools -> Options -> Miscellaneous -> Ignored Files Pattern
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
DKnoto commentedon 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 commentedon Feb 16, 2024
Project logical view need improvment: #94