1.0.0 • Published 5 years ago

vscode-test-utils v1.0.0

Weekly downloads
37
License
MIT
Repository
github
Last release
5 years ago

vscode-test-utils

Test utilities for Visual Studio Code.

Build Status

API

import * as utils from 'vscode-test-utils`;

closeAllFiles(): Promise<void>

Closes all files in the workspace.

createFile(contents: string, filename?: string): Promise<string>

Creates a file. If filename is not provided, a random file is written in the operating system's temporary directory.

openEmptyFile(): Promise<vscode.Uri>

Opens an empty file in the workspace.

openFile(path: string): Promise<vscode.Uri>

Opens a file in the workspace.

1.0.0

5 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago