Giter VIP home page Giter VIP logo

vsmacdeepclean's Introduction

DeepClean

Is a Visual Studio for macOS add-in / extension that let you easily clean projects, NuGet, Xamarin and VS cache without leaving the IDE.
This extension is making it's first steps, please make sure you have a back up of your code before using it!

Features

Under the "File" menu:

  • Delete Solution

Under the "Build" menu:

  • Delete /bin /obj directories
    • Recursively delete all the /bin & /obj directories on the solution level
  • Delete /packages directory

Right click on any directory within the solution:

  • Open terminal at directory

Under the "Tools" menu:

  • Clear NuGet Cache
    • Delete the next directories ~/.nuget/packages & ~/.local/share/NuGet
  • Clear Android Library Cache
    • Delete all the directories within ~/.local/share/Xamarin that matching the next search pattern 'Xamarin.*;
  • Clear Unused Framework Libraries
    • Delete all except current version within:
      • /Library/Frameworks/Mono.framework/Versions
      • /Library/Frameworks/Xamarin.Android.framework/Versions
      • /Library/Frameworks/Xamarin.iOS.framework/Versions
      • /Library/Frameworks/Xamarin.Mac.framework/Versions

Please note that after manipulating NuGet cache, both local or global, you will have to restore NuGet packages for your workspace.

Installation

Automatic

You can download and install DeepClean using the Extension Manager of Visual Studio for Mac by searching the Gallery.

Manual

Alternatively you can download and install it manually using the folowing steps:

Download the latest version from here.
Open Visual Studio for macOS and open the "Extensions..." menu

Now click on "Install from file" and choose the downloaded mpack

It may take few seconds to install but the result should be


The extension will be enabled only when a solution is opened in VS.

Development

Prerequisites

In order to debug this solution you will have to install MonoDevelop.AddinMaker.

The aim of this project is to practice and experiment with Visual Studio for macOS extensions development. To play around with this solution just clone this repository and open it with you VS. To build a mpack package, build the solution in Release mode and execute pack_addin.sh the output will be redirected to Versions directory.

While development I used the next articles:
Как сделать Xamarin Studio чуточку лучше?
How to Write Add-ins of Visual Studio for Mac
Extending Visual Studio for Mac Walkthrough
Cleaning Up Space on Your Xamarin Development Machine

Contributors

Big thanks to our contributors:

License

This project is licensed under the MIT License - see the LICENSE.md file for details

vsmacdeepclean's People

Contributors

yuv4ik avatar gsgou avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.