Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Commit

Permalink
settings commands docs update (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomFractals committed May 26, 2023
1 parent 811e1d1 commit 5e5ddd5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/commands/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ const settingsFilePath = '.evidence/template/evidence.settings.json';
*/
const settingsPageUrl = `${localAppUrl}/settings`;

/**
* Opens Evidence app settings page in the built-in vscode simple browser webview.
*/
export function viewAppSettings() {
commands.executeCommand(Commands.ShowSimpleBrowser, settingsPageUrl);
}

/**
* Opens Evidence settings file for editing.
* Opens Evidence settings file in JSON editor for editing.
*/
export function openSettingsFile() {
if (!workspace.workspaceFolders) {
Expand Down

0 comments on commit 5e5ddd5

Please sign in to comment.