Skip to content

raidersfanjcr/monodevelop-paket-addin

 
 

Repository files navigation

Paket Support for MonoDevelop and Xamarin Studio

Provides Paket support for MonoDevelop and Xamarin Studio.

For more details see the Paket Support in Xamarin Studio blog post

Build Status

Mono .NET
Mono CI Build Status .NET CI Build Status

Features Overview

  • View dependencies and referenced NuGet packages in the Solution window.
  • Add, remove, update NuGet packages from the Solution window.
  • Install, restore, simplify NuGet packages from the Solution window.
  • Check for updated NuGet packages from the Solution window.
  • Syntax highlighting for all paket files.
  • Code completion whilst editing the paket.dependencies file.
  • Integrates with Xamarin Studio's unified search.
  • paket.dependencies and paket.template file templates.

Requirements

  • MonoDevelop 5 or Xamarin Studio 5

Installation

The addin is available from the MonoDevelop addin repository. To install the addin:

  • Open the Add-in Manager dialog.
  • Select the Gallery tab.
  • Select Xamarin Studio Add-in Repository (Alpha channel) from the drop down list.
  • Expand IDE extensions.
  • Select Paket.
  • Click the Refresh button if the addin is not visible.
  • Click Install... to install the addin.

Paket addin in the addin manager dialog

Features

In the following sections the features are covered in more detail.

Adding a NuGet Package

To add a NuGet package using Paket, right click the project in the Solution window, and select Add - Add NuGet Packages using Paket.

The Add NuGet Packages using Paket menu is also available from the main Project menu.

Paket Dependencies Folder

The Paket Dependencies folder is shown in the Solution window if Xamarin Studio finds a paket.dependencies file in the same directory as the solution. The NuGet packages that are in the paket.dependencies file are shown under this folder.

Paket Dependencies folder in Solution window

Double clicking the folder will open the paket.dependencies file into the text editor. The Paket Dependencies folder also has a context menu where you can run Paket commands. From the context menu you can Add a NuGet Package as a dependency, install, restore, update, and simplify your dependencies, or check for updates.

To update a single NuGet package you can right click it and select Update. To remove the NuGet package as a dependency you can right click it and select Remove or press delete.

Paket References Folder

The Paket References folder is shown in the Solution window if Xamarin Studio finds a paket.references file in the same directory as the project. The NuGet packages that are in the paket.references file are shown under this folder. Double clicking the folder will open the paket.references file into the text editor.

Paket References folder in Solution window

Right clicking the Paket References folder allows you to add a NuGet package to the project. A NuGet package can be removed by right clicking it and selecting Remove or by pressing Delete.

Code Completion

When editing the paket.dependencies file you will get code completion as you type. You can also bring up the code completion list by pressing Ctrl+Enter.

paket.dependencies file keyword completion

Running Paket Commands

Paket commands can be run from the Unified search. If you type in paket you will see some of the Paket commands.

Paket commands in unified search

Syntax Highlighting

Syntax highlighting is available for all paket files - paket.dependencies, paket.references, paket.lock and paket.template.

paket.dependencies file syntax highlighting

About

Paket addin for MonoDevelop, Xamarin Studio and Visual Studio for Mac

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%