Header menu logo F# Compiler Guide

FSharpWorkspaceFiles Type

Interface for managing files in an F# workspace.

Instance members

Instance member Description

this.Close

Full Usage: this.Close

Parameters:

Indicates that a file has been closed. Any changes that were not saved to disk are undone and any further reading of the file's contents will be from the filesystem.

file : Uri

this.Edit

Full Usage: this.Edit

Parameters:
    file : Uri
    content : string

Indicates that a file has been changed and now has the given content. If it wasn't previously open it is considered open now.

file : Uri
content : string

this.OfProject

Full Usage: this.OfProject

Parameters:
Returns: string seq

Returns file paths for all source files of the given project.

projectIdentifier : FSharpProjectIdentifier
Returns: string seq

this.Open

Full Usage: this.Open

Parameters:
    file : Uri
    content : string

Indicates that a file has been opened and has the given content. Any updates to the file should be done through `Files.Edit`.

file : Uri
content : string

Type something to start searching.