Has anyone managed to use F# with Sublime Text 3 REPL?

1,362 views
Skip to first unread message

Vagif Abilov

unread,
Jan 15, 2014, 5:53:51 AM1/15/14
to fsharp-o...@googlegroups.com
Hello,

There're some blog posts describing how to add REPL support for F# to Sublime Text 2, but is there anything for SL3? AFAIK Sublime Text 3 has a different packaging model, so old packages may not work.

Thanks in advance

Vagif Abilov

Robert Pickering

unread,
Jan 15, 2014, 9:06:58 AM1/15/14
to fsharp-o...@googlegroups.com
I'm using Sublime Text 3.0 and the REPL every day! To install was simple:

- Install Package Control: https://sublime.wbond.net/installation


--
--
To post, send email to fsharp-o...@googlegroups.com
To unsubscribe, send email to
fsharp-opensou...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/fsharp-opensource
---
You received this message because you are subscribed to the Google Groups "F# Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fsharp-opensou...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Don Syme

unread,
Jan 15, 2014, 1:42:21 PM1/15/14
to fsharp-o...@googlegroups.com

 

It would be great if someone could add information about this F# support in SublimeREPL to appropriate places on fsharp.org, e.g.

                http://fsharp.org/use/mac

                http://fsharp.org/guides/mac-linux-cross-platform/index.html#editing

 

Likewise any updated information on Sublime Text 3

 

Cheers!

Don

Vagif Abilov

unread,
Jan 16, 2014, 6:07:12 AM1/16/14
to fsharp-o...@googlegroups.com
Hmm, doesn't like this it sufficient.

First, I got an error message about a missing file. I suspected I had to specify path to fsi.exe. I located main.Sublime-menu file in SublimeREPL folder and modifed it so now it looks like this:

But now when I go to Tools -> REPL -> F#, I am getting the following error:
"Error loading syntax file Packages/F#/F#.tmLanguage". And I don't have such file indeed.

The actual REPL stuff actuall works now, it's just I am not getting F# syntax highlighting in a REPL window.

Vagif

Niels Berglund

unread,
Jan 16, 2014, 6:10:39 AM1/16/14
to fsharp-o...@googlegroups.com
I believe you need the "F# Sublime Text" package from package control for syntax highlightning.

Niels

Vagif Abilov

unread,
Jan 16, 2014, 6:59:45 AM1/16/14
to fsharp-o...@googlegroups.com
Bingo! That was it, thanks

I will look into info on fsharp.org and check if it needs updating.

Vagif
Reply all
Reply to author
Forward
0 new messages