Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

fsprojects/zarchive-sublime-fsharp-package

Repository files navigation

Build status Build Status

FSharp

Code intelligence for F# development in Sublime Text 3.

Features

  • Autocompletion
  • Live error checking
  • Tooltips
  • Go to definition
  • Show definitions in current file
  • Syntax highlighting
  • Runs F# scripts in output panel

Main Keyboard Shortcuts

Keyboard Shortcut Action
Ctrl+., Ctrl+. Show F# commands
Ctrl+., Ctrl+o Show last output panel
Ctrl+k, Ctrl+i Show tooltip for symbol
F12 Go to definition
Ctrl+space Open autocomplete list

Building

Cross-platform

  • Start Sublime Text
  • Press F7
  • Select Build FSharp

Linux/Mac

./build.sh

Windows

build.cmd

Installing

The install task will publish the package to Sublime Text's Data directory, and restart Sublime Text if it is running.

Cross-platform

  • Start Sublime Text
  • Press F7
  • Select Build FSharp - Publish Locally (Install)

Linux/Mac

./build.sh install

Windows

For full installations, run the following command:

build.cmd install

For portable installations, you must pass along the data directory.

build install sublimeDir="d:\Path\To\Sublime\Text\Data"

Optionally, you can set the SUBLIME_TEXT_DATA environment variable, which should point to the Sublime Text Data directory. If SUBLIME_TEXT_DATA is present, you don't need to pass the sublimeDir argument to the build script.

Developing FSharp

Pull requests to FSharp welcome!

General Steps for Development

  • Clone this repository to any folder outside of Sublime Text's Data folder
  • Edit files as needed
  • Close Sublime Text
  • Install via ./build.[sh|cmd] install
  • Restart Sublime Text
  • Run the tests via command palette: Build FSharp: Test (All)

Maintainers

Tha maintainers of this repository appointed by the F# Core Engineering Group are: