Skip to main content

Posts

Showing posts from March, 2019

How to add colours to git edited/added files in the file explorer in VS Code

Go to Preferences > Settings > User Settings > Workbench > Appearance > Color Customizations > (Open settings.json) Add the following to the Json file "workbench.colorCustomizations" : { "list.errorForeground" : "#f30606" , "list.warningForeground" : "#eff30b" , "gitDecoration.modifiedResourceForeground" : "#bbc232" , "gitDecoration.untrackedResourceForeground" : "#f7aeae" , "gitDecoration.deletedResourceForeground" : "#8B4513" , "gitDecoration.ignoredResourceForeground" : "#C0C0C0" , "gitDecoration.conflictingResourceForeground" : "#800000" }
Going in any git repo directory hangs the terminal (and iTerm) in MacOS Mojave. Reason:  you may need to reset the path to Xcode if you have several versions Solution : If you have an antivirus running that scan the folders for threat, try disabling it and if that solves the issue, provide the correct settings to allow git. Run the following command in your terminal xcode-select --switch /Applications/Xcode.app xcode-select --switch /Library/Developer/CommandLineTools Reference: https://apple.stackexchange.com/questions/254380/why-am-i-getting-an-invalid-active-developer-path-when-attempting-to-use-git-a