Menu

#418 Feature request: add menu option to remove file from disk

Undefined
duplicate
nobody
None
Undefined
2016-10-24
2016-10-24
Riot
No

Currently it is possible to create a new file in codeblocks, and it is possible to rename a file inside codeblocks which also renames that file on disk. However, only an option to remove a file from the project exists inside codeblocks. It would be handy if there were also an option to remove a file from the project and delete it from disk at the same time.

Currently it's necessary to switch away from codeblocks to perform this part of the workflow, which doesn't make much sense since you can already perform all the other filesystem modifications from inside the project tree.

Discussion

  • Teodor Petrov

    Teodor Petrov - 2016-10-24
    • status: open --> duplicate
     
  • Teodor Petrov

    Teodor Petrov - 2016-10-24

    Closing as duplicate of [#60] ... next time please search if the issue is not reported already. Especially when the reporter is yourself :)

    Generally implementing this won't help much, because it will still be necessary to switch away from codeblocks, because you have to use a command like git rm file to remove the file from source control, too.

     

    Related

    Tickets: #60

    • Riot

      Riot - 2016-10-25

      Oops! Sorry about that. I'd obviously searched for the wrong terms. And I had no recollection whatsoever of posting that request previously, although it's a good suggestion! ;)

       
    • Riot

      Riot - 2016-10-25

      re. having to use commands like git rm anyway - the same is true for files created by codeblocks and renamed by it, that doesn't mean this shouldn't be possible to do. For those of us who use git gui clients, queuing a removed file to be removed from repo is just a single click away, which is definitely not the case when having to actually find and rm that file in the filesystem - especially in large projects with directory trees half a dozen directories deep, it's very inconvenient to have to stop everything and go find the equivalent place on disk to where you are in the project tree.

       
      • Teodor Petrov

        Teodor Petrov - 2016-10-26

        Have you tried right click on a tab and then open containing folder? I guess we need to add this to the right click menu in the project manager, so it is more easily discoverable.

         
        • Riot

          Riot - 2016-10-26

          I had never tried that on linux until today (because that's a rather awkward workflow - having to open a file in the editor, just to then click that, and then close the file again before it can be removed from the project). Now that I've tried it, I discovered issue https://sourceforge.net/p/codeblocks/tickets/419/

           

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.