<commit_before>[<ReflectedDefinition>]
module Ionide.VSCode

open System
open System.Text.RegularExpressions
open FunScript
open FunScript.TypeScript
open FunScript.TypeScript.fs
open FunScript.TypeScript.child_process
open FunScript.TypeScript.vscode

open Ionide.VSCode.FSharp

type FSharp() =
    member x.activate(disposables: Disposable[]) =
        LanguageService.start ()
        let df = createEmpty<DocumentFilter> ()
        df.language <- "fsharp"
        let df' = [|df|]
        Linter.activate disposables
        Tooltip.activate df' disposables
        Autocomplete.activate df' disposables
        ParameterHints.activate df' disposables
        Definition.activate df' disposables
        Reference.activate df' disposables
        Outline.activate df' disposables
        Fsi.activate disposables  
        QuickInfo.activate disposables
        ()<commit_msg>Stop language services on deactivation<commit_after>[<ReflectedDefinition>]
module Ionide.VSCode

open System
open System.Text.RegularExpressions
open FunScript
open FunScript.TypeScript
open FunScript.TypeScript.fs
open FunScript.TypeScript.child_process
open FunScript.TypeScript.vscode

open Ionide.VSCode.FSharp

type FSharp() =
    member x.activate(disposables: Disposable[]) =
        LanguageService.start ()
        let df = createEmpty<DocumentFilter> ()
        df.language <- "fsharp"
        let df' = [|df|]
        Linter.activate disposables
        Tooltip.activate df' disposables
        Autocomplete.activate df' disposables
        ParameterHints.activate df' disposables
        Definition.activate df' disposables
        Reference.activate df' disposables
        Outline.activate df' disposables
        Fsi.activate disposables
        QuickInfo.activate disposables
        ()

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

{'fraction_non_alphanumeric': 0.0748663101604278, 'fraction_numerical': 0.0, 'mean_word_length': 3.204494382022472, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1819842', 'n_tokens_mistral': 522, 'n_tokens_neox': 502, 'n_words': 122}