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

workbench: added "Create file here..."/"Create directory here..." #681

Merged
merged 2 commits into from
Feb 3, 2018
Merged

workbench: added "Create file here..."/"Create directory here..." #681

merged 2 commits into from
Feb 3, 2018

Conversation

lpaulsen93
Copy link
Contributor

The user can now select from two new context menu items to either create a new file or a new directory on the current selected position in the file tree. See #660.

This PR also includes a new function for the utils lib which is required for the new functionality in the workbench plugin.

The new function does quite the same like 'gp_filelist_scan_directory()' but also
has an additional parameter 'flags' which allows to control the returned list content
via flags. Only one flag is defined so far:

FILELIST_FLAG_ADD_DIRS: If set, directories will be present as own list entries

If 'flags' is 0 then the result is the same as by calling 'gp_filelist_scan_directory()'.
The user can now select from two new context menu items to either
create a new file or a new directory on the current selected position
in the file tree. See #660.
@frlan frlan merged commit 5677bf1 into geany:master Feb 3, 2018
@lpaulsen93 lpaulsen93 deleted the wb-fileops2 branch February 16, 2018 17:02
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