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:
-
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.
-
Press
Ctrl
+Shift
+P
and start typing "Sitelet" (without the quotes) -
Select the command
sitelet:run
and hitEnter
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
- Run
build.cmd
(for Windows) orbuild.sh
, this will start a clean build and copy the necessary files in place. - Go into the
ionide-websharper
directory and install the package withapm 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.