[Github-comments] [geany/geany-plugins] workbench: remove files or directories. (#712)

LarsGit223 notifications at xxxxx
Wed Feb 28 18:33:57 UTC 2018


The user can now remove a selected file or directory. Closes #711.
The user has to confirm the action and is warned that it cannot be undone.

In case a directory is removed, then first all files will be removed. The workbench plugin only removes that files in a directory which are displayed in the sidebar. That means files that are not displayed because they do not match the file patterns will not be removed. After removing all files, all sub-directories and finally the selected directory will be removed. This will fail if a directory is not really empty.

If removing of a file or directory fails, then a message is output.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/712

-- Commit Summary --

  * workbench: remove files or directories.

-- File Changes --

    M workbench/src/popup_menu.c (165)
    M workbench/src/sidebar.c (25)
    M workbench/src/sidebar.h (6)

-- Patch Links --

https://github.com/geany/geany-plugins/pull/712.patch
https://github.com/geany/geany-plugins/pull/712.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/712
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180228/836c2071/attachment.html>


More information about the Github-comments mailing list