Mono-D

From D Wiki
Revision as of 11:56, 11 July 2014 by Alex (talk | contribs) (On Linux)
Jump to: navigation, search

Mono-D is an Addin for XamarinStudio/MonoDevelop that brings D support to those IDEs.


Features

  • D Project management
    • Managing files & resources
    • Managing inter-project dependencies in a solution
    • Build projects and prepare them for being deployed
  • Ad hoc dub support. Despite the dub.json file not being a native format that is supported by the Mono/.Net facilities, there's still a bunch of things wrapped for being used within MD.
    • Read-only opening dub.json files as projects
    • Resolving package dependencies and subpackages and opening all of them as projects, too
    • Build support
    • ...
  • Basic Visual-D project format support
  • dmd, gdc, ldc2, rdmd, dub, make toolchain support
  • Rich editing & refactoring facilities:
    • Halfway™ decent auto code completion including pre-compile time
      • template deduction & evaluation,
      • mixins & mixin expression,
      • expression value as well as
      • compiler traits,
      • op overload evaluation & deduction that is used to provide extremely more accurate information about which symbols could be accessed or typed in a particular code context
    • Obligatory things like definition lookup,
    • Code symbol reference highlighting,
    • Semantic type identifer highlighting,
    • Optional diff-based syntax highlighting,
    • Diet template file highlighting.
    • Mixin expression pre-compilation to see what a mixin will look like when being compiled
    • Code declaration foldings
    • User-generated foldings via
//region My Region
int myCodes;
//endregion
    • Obligatory AST outlining for easy access of stuff declared in a D source file
    • Intelligent code indentation
    • Basic code formatting support which reorganizes all kinds of code elements, not only line beginnings
    • Invoking a project's unit tests via pressing Ctrl+T
    • ...

How to install Mono-D

Install MonoDevelop

On Windows/OSX

  1. Go to [1], download & install the latest MonoDevelop setup. Note that there's a gtk# package required to be installed as well.
  2. Open XS. Open the Help menu and 'Check for updates'.
    Select the Alpha channel to be used for searching updates.
    Generally it's recommended to stick to the latest 'Alpha' version of XS because only then, you'll get the very latest & most recent changes & bug fixes.

On Linux

  1. Check your distro's software manager for any recent MonoDevelop version >v5.0 and try install that one.
    MD >5.0 is mandatory due to massive API changes etc.!
  2. If no proper build hasn't been uploaded, go to [2], download the .xz matching your OS architecture.
  3. Follow the instructions given in the readme.txt in order to deploy everything properly.
    The archives are maintained by me, so please check the site regularly (like 1-2 times per month) for updates!

Install Mono-D

Feedback

Support