<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`Workspace`](Workspace) › [`openLinkText`](Workspace/openLinkText) ## Workspace.openLinkText() method **Signature:** ```typescript openLinkText(linktext: string, sourcePath: string, newLeaf?: PaneType | boolean, openViewState?: OpenViewState): Promise<void>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | <code>linktext</code> | <code>string</code> | | | <code>sourcePath</code> | <code>string</code> | | | <code>newLeaf</code> | [`PaneType`](PaneType)<code> &#124; boolean</code> | _(Optional)_ | | <code>openViewState</code> | [`OpenViewState`](OpenViewState) | _(Optional)_ | **Returns:** `Promise``<void>`