Personally, to keep my documents like Inkscape files or LibreOffice documents separate from my code, I add a directory under my home directory called Development. There, I can do git clones to my heart’s content

What do you all do?

      • mlfh@lemmy.ml
        link
        fedilink
        arrow-up
        22
        arrow-down
        1
        ·
        1 year ago

        I actually have my whole home directory like that for that reason haha

        bin - executables
        dev - development, git projects
        doc - documents
        etc - symlinks to all the local user configs
        med - pictures, music, videos
        mnt - usb/sd mountpoints
        nfs - nfs mountpoints
        smb - smb mountpoints
        src - external source code
        tmp - desktop
        
  • aleats@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    1
    ·
    1 year ago

    ~/src/ Simple, effective, doesn’t make my home folder any more of a mess than I already left it as.

    • comfy@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      Thinking of the projects I work on, I don’t understand the value in categorizing by language, rather than theme (~/Development/Web/, ~/Development/Games/) or just the project folders right there.

      • mbirth 🇬🇧@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Yeah, everyone has to find their own way of organising, I guess. For me, there are too many different little projects that it would get messy throwing them all in one folder. And they’re so varied that I couldn’t think of one single “theme” or topic for most of them. Nothing I would remember a week later anyways.

  • Blaiz0r@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    I used to use ~/devbut for years now I use ~/Workspace becaue Eclipse made me do it

  • picandocodigo@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    I use ~/workspace . I think I got this from when I first started using Java years ago. Eclipse created new projects in this directory by default maybe?

  • muhq@discuss.tchncs.de
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    ~/code for everything I want to change/look at the source code.

    ~/.local/src for stuff I want to install locally from source.

  • Ephera@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    For a project called “Potato Peeler”, I’ll put it into a structure like this:

    ~/Projects/Tools/Potato-Peeler/potato-peeler/
    

    Tools/ is just a rough category. Other categories are, for example, Games/ and Music/, because I also do gamedev and composing occasionally.

    Then the capitalized Potato-Peeler/ folder, that’s for me to drop in all kinds of project-related files, which I don’t want to check into the repo.

    And the lower-case potato-peeler/ folder is the repo then. Seeing other people’s structures, maybe I’ll rename that folder to repo/, and if I have multiple relevant repos for the Project, then make it repo-something.

    I also have a folder like ~/Projects/Tools/zzz/ where I’ll move dormant projects. The “zzz” sorts nicely to the bottom of the list.