Posts by Andres Correa Casablanca

All Own posts Reposts Replies

Reposted by Andres Correa Casablanca

Andreu Casablanca 🐀 @castarco hachyderm.io

I feel a bit dumb for having discovered that so late, but #VSCode / #VSCodium do not use the .gitignore file to decide what inodes to watch for changes…

Working on a big #Rustlang project can be a nightmare (burning CPU, eating up all the RAM…), given that the target/ directory can end up using more than 100gb of disk space.

Remember to set your “files.watcherExclude” setting to avoid that problem:

{
    "search.useIgnoreFiles": true,
    "search.useGlobalIgnoreFiles": true,
    "files.watcherExclude": {
        "target/**": true,
        "**/target/**": true
    }
}