Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Create a directory and package.d #374

Merged
merged 16 commits into from
May 8, 2018

Conversation

Zevenberge
Copy link
Contributor

Added an extra option to the right-click menu in the workspace panel to add a new folder. The dialog has an option to create a package.d.

If I interpreted correctly, this solves #311

Zevenberge and others added 16 commits November 30, 2017 18:57
It creates a folder below the folder/project that is selected. ProjectFolder is now no longer set when the project is selected; this allows folder creation at the highest level (i.e. myproj/views instead of myproj/source/views). It is created on disk, but doesn't show up in the workspace yet.
As we know the parant, we can simple add a child to it. There is no need to reload the workspace. I also took the liberty of renaming refreshWorkspace to updateTreeGraph, to avoid confusion between updating the tree graph and reloading the workspace from disk.
It used to have the full file path of the dub.json file.
The files are project root are not shown (i.e. README files). Therefore, if you make a folder, it doesn't appear in the UI. The functionality is tested and works, but the scanning of root-level files should be implemented first (more importantly, a descision should be taken which files to show).
As the IDE no longer searches for the source folder, a file cannot be placed here.
@buggins buggins merged commit 6c32105 into buggins:master May 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants