Represents a file in external project. External project is project whose set of files, compilation options and open\close state is maintained by the client (i.e. if all this data come from .csproj file in Visual Studio). External project will exist even if all files in it are closed and should be closed explicitly. If external project includes one or more tsconfig.json/jsconfig.json files then tsserver will create configured project for every config file but will maintain a link that these projects were created as a result of opening external project so they should be removed once external project is closed.
Represents a file in external project. External project is project whose set of files, compilation options and open\close state is maintained by the client (i.e. if all this data come from .csproj file in Visual Studio). External project will exist even if all files in it are closed and should be closed explicitly. If external project includes one or more tsconfig.json/jsconfig.json files then tsserver will create configured project for every config file but will maintain a link that these projects were created as a result of opening external project so they should be removed once external project is closed.
(content external-file)
Content of the file
Returns: string | undefined
Content of the file **Returns:** `string | undefined`
(file-name external-file)
Name of file file
Returns: string
Name of file file **Returns:** `string`
(has-mixed-content? external-file)
Whether file has mixed content (i.e. .cshtml file that combines html markup with C#/JavaScript)
Returns: boolean | undefined
Whether file has mixed content (i.e. .cshtml file that combines html markup with C#/JavaScript) **Returns:** `boolean | undefined`
(script-kind external-file)
Script kind of the file
Returns: ScriptKind | ScriptKindName | undefined
Script kind of the file **Returns:** `ScriptKind | ScriptKindName | undefined`
(set-content! external-file value)
Content of the file
Content of the file
(set-file-name! external-file value)
Name of file file
Name of file file
(set-has-mixed-content! external-file value)
Whether file has mixed content (i.e. .cshtml file that combines html markup with C#/JavaScript)
Whether file has mixed content (i.e. .cshtml file that combines html markup with C#/JavaScript)
(set-script-kind! external-file value)
Script kind of the file
Script kind of the file
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close