Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A simple Haskell program to provide tags for Haskell code completion in TextMate

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Haskell.tmbundle
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Main.hs
Octocat-spinner-32 README
Octocat-spinner-32 textmatetags.cabal
README
TextMate Tags Readme
====================

Author: Alessandro Vermeulen <alessandrovermeulen@me.com>

Installing
----------

install this hackage package. Then add the following *Preference* to your 
Haskell bundle:

----
{	completionCommand = '#! /bin/sh
SRC_DIR=`cat $TM_PROJECT_DIRECTORY/.srcdir`
PRJ_DIR="$TM_PROJECT_DIRECTORY/$SRC_DIR"

cd $PRJ_DIR
~/.cabal/bin/textmatetags $TM_FILEPATH $TM_CURRENT_WORD'; }
----

Or, if you use the Haskell bundle by Jamis Buck
(http://weblog.jamisbuck.org/2005/11/1/haskell-bundle-for-textmate) you can use 
the Haskell bundle provided in this repository. It is a diff to his bundle.

Usage
-----
If your TextMate file is in the root of your source directory, or your TextMate
project has the source folder as its root you are set. If not, place a file
called `.srcdir' in the root of your TextMate project containing on the first
line the location of the source directory relative to the TextMate project
root.

GitHub
------
The github repository for this project can be found at:
  
  https://github.com/spockz/Haskell-Code-Completion-for-TextMate
Something went wrong with that request. Please try again.