Skip to content

Commit fbf9734

Browse files
Add webpreview structure
1 parent bf41cde commit fbf9734

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

build.fsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ open Fake.ZipHelper
2727
#load "src/Components/Fsi.fs"
2828
#load "src/Components/QuickInfo.fs"
2929
#load "src/Components/FSharpFormatting.fs"
30+
#load "src/Components/Webpreview.fs"
3031
#load "src/fsharp.fs"
3132
#load "src/main.fs"
3233

src/Components/WebPreview.fs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
namespace Ionide.VSCode.FSharp
2+
3+
open System
4+
open FunScript
5+
open FunScript.TypeScript
6+
open FunScript.TypeScript.vscode
7+
open FunScript.TypeScript.vscode.languages
8+
open FunScript.TypeScript.child_process
9+
open FunScript.TypeScript.fs
10+
11+
open DTO
12+
open Ionide.VSCode.Helpers
13+
14+
15+
[<ReflectedDefinition>]
16+
module WebPreview =
17+
18+
19+
20+
let activate (disposables : Disposable[]) =
21+
()

src/Ionide.FSharp.fsproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
<Compile Include="Components\Fsi.fs" />
4848
<Compile Include="Components\QuickInfo.fs" />
4949
<Compile Include="Components\FSharpFormatting.fs" />
50+
<Compile Include="Components\WebPreview.fs" />
5051
<Compile Include="fsharp.fs" />
5152
<Compile Include="main.fs" />
5253
<None Include="vscode-bindings.fsx" />

src/fsharp.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ type FSharp() =
2828
Fsi.activate disposables
2929
QuickInfo.activate disposables
3030
FSharpFormatting.activate disposables
31+
WebPreview.activate disposables
3132
()
3233

3334
member x.deactivate(disposables: Disposable[]) =

0 commit comments

Comments
 (0)