fsharp/fsharpbinding — pull request #366 by guillermooo (2014-03-05 19:31:30+00:00)
Title: Add initial support for F# in Sublime Text

I've tried to clean up as much as possible for this first commit adding support for F# in Sublime Text. There's still work left to be done adjusting scripts and such. Please let me know if I've missed any important thing.

#### Notes

* I'm using the F# *.tmLanguage* file shipped with ST, which I'm pretty sure in turn was borrowed from the Textmate F# bundle.
* I have not added a license file because I saw the *emacs* directory in *fsharpbinding* didn't contain one either.
* I've also borrowed sample files from *fsharpbinding* (can be found in FSharp_Tests).

The new *sublimetext* subdirectory is divided in two:

#### FSharp

Contains the package assets proper. These should be distributed as a *.sublime-package* file. I currently does not contain a compiled copy of *fsharpautocomplete.exe*; it's downloaded via *GetDependencies.ps1* (on Windows) instead.

#### FSharp_Tests

Contains tests for FSharp. I haven't found a simple way of importing tests from a zip archive (*.sublime-package* files are plain zip archives with a custom extension) using Pyhton's *unittest* module, so I've decided to split the code from the tests. It seems to work well, but the process of publishing FSharp and FSharp_Tests during development should be improved.

#### Status

On a Windows PC, it should be possible to build the *.sublime-package* using the provided scripts. The package currently starts an autocomplete daemon upon the editor's startup. After that, the user should be able to select an *.fsproj* file, load it from the command palette (Ctrl+.+.) and then find symbol definitions in a valid *.fs(x)* file.