ionide-websharper

WebSharper for the Ionide plugin suite.


License
Apache-2.0
Install
apm install ionide-websharper@2.0.0

Documentation

ionide-websharper

This package implements a plugin for Atom that you can use alongside with Ionide to run WebSharper sitelets conveniently. It depends only on ionide-fsharp, which provides syntax highlighting and code assistance features for F# projects.

Features

  • Compile and run client-server WebSharper applications
  • Error reporting

Basic usage

It is really easy to get started with ionide-websharper, you just need to follow three main steps:

  1. Open up a WebSharper project that contains a sitelet

    This can be an existing project created with, for example, Visual Studio or you can use ionide-yeoman to generate one directly in Atom.

  2. Press Ctrl + Shift + P and start typing "Sitelet" (without the quotes)

  3. Select the command sitelet:run and hit Enter

ionide-websharper

And voilá, your Sitelet is running on http://localhost:9000/.

Commands

Command Description
sitelet:run Starts your WebSharper project or restarts the running one.
sitelet:stop Stops the recently started project.

Building

  1. Run build.cmd (for Windows) or build.sh, this will start a clean build and copy the necessary files in place.
  2. Go into the ionide-websharper directory and install the package with apm link.

Contributing

We are hosting the project on GitHub, so feel free to report issues, fork the repository, and send pull requests!

Licensing

ionide-websharper is licensed under Apache 2.0.