Weblog · Software · Services · Contact Me


D for Xcode

Français

Download

D plugin for Xcode 1.1b2 (740 Kb)
Most recent update of the D plugin for Xcode. September 21, 2008.
Source code 1.1b2 (1.6 Mb)
Source code for building the plugin on your own.

You can track the developement of this project using the Git repository mirror accessible from git.michelf.com.

Note: Support for Xcode 3 is still incomplete in regard to syntax highlighting.

Introduction

This D plugin for Xcode makes it easy to develop tools, libraries, and applications in the D programming language using Apple’s Xcode IDE. The plugin does the following things:

Requirements

Note: Support for Xcode 3 is still incomplete in regard to syntax highlighting.

Installation

For Xcode 2.4.1:
Take the downloaded “D for Xcode.xcplugin” file to the “/Library/Application Support/Apple/Developer Tools/Plug-ins” folder (create the folder if you need to), and relaunch Xcode.
For Xcode 2.5 and Xcode 3:
Take the downloaded “D for Xcode.xcplugin” file to the “/Library/Application Support/Developer/Shared/Xcode/Plug-ins” folder (create the folder if you need to), and relaunch Xcode.

Alternatively you can install the plugin in the Library folder in your own user account.

Once this is done, you can create D files and add them to the desired targets in your Xcode projects, and they should compile and link fine.

Note: On Xcode 3 you’ll need to get info on your files and select “sourcecode.d” as the file type. Otherwise Xcode 3 interprets files with the .d extension as dtrace files. This is noted in the known issues.

Screenshots

Known Issues

About Module Directories

The compiler and the dependency checker assumes the module directory you’re working with is the directory project directory. This means that a module named mypackage.mymodule must be located at PROJECT_DIR/mypackage/mymodule.d. You can add other module directories (if you want to include libraries for instance), but the dependency graph doesn’t take them into account and your files depending on them won’t be recompiled automatically if you change them (you’ll need to clean the target first). Let me know if this is a problem for you.

Bug Reports

If you find a problem, whether it’s crashing Xcode or not, I’d like to know about it. Please give me any relevant information (such as Xcode crash logs if Xcode crash) and the appropriate steps, or files, to replicate the problem (so I can debug it locally). You can send bug reports at this address: michel.fortin@michelf.com.

License

D for Xcode is available under the GNU General Public License, version 2 or later.

Version History

D for Xcode 1.1b2 (21 Sep 2008)

D for Xcode 1.1b1 (31 May 2008)

D for Xcode 1.0.1 (November 23, 2007)

D for Xcode 1.0 (November 20, 2007)


Site powered by: Reflex