-
-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
102 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { commands, Uri } from 'vscode'; | ||
|
||
import { getExtensionContext } from '../di.mjs'; | ||
|
||
export async function about(): Promise<void> { | ||
const uriReadme = Uri.joinPath(getExtensionContext().extensionUri, 'resources/pages/About the Spell Checker.md'); | ||
return commands.executeCommand('markdown.showPreview', null, [uriReadme], { lock: true }); | ||
} | ||
|
||
export function supportRequest(): Promise<void> { | ||
return openMarkdown('resources/pages/Spell Checker Support Request.md'); | ||
} | ||
|
||
export function reportIssue(): Promise<void> { | ||
return openMarkdown('resources/pages/Spell Checker Report Issue.md'); | ||
} | ||
|
||
export function sponsor(): Promise<void> { | ||
return openMarkdown('resources/pages/Sponsor the Spell Checker.md'); | ||
} | ||
|
||
export function callForSponsors(): Promise<void> { | ||
return openMarkdown('resources/pages/Sponsor the Spell Checker.md'); | ||
} | ||
|
||
export function releaseNotes(): Promise<void> { | ||
return openMarkdown('resources/pages/Spell Checker Release Notes.md'); | ||
} | ||
|
||
async function openMarkdown(uri: Uri | string): Promise<void> { | ||
if (typeof uri === 'string') { | ||
uri = Uri.joinPath(getExtensionContext().extensionUri, uri); | ||
} | ||
return commands.executeCommand('markdown.showPreview', null, [uri], { lock: true }); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# About |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Release Notes | ||
|
||
For detailed release notes see [Spell Checker Releases](https://github.com/streetsidesoftware/vscode-spell-checker/releases). | ||
|
||
## v4.0.0 | ||
|
||
Starting with v4, the release notes for major features will be included in the extension. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Report an Issue | ||
|
||
## How to Report an Issue | ||
|
||
1. Missing Words: Open an issue with [CSpell Dictionaries](https://github.com/streetsidesoftware/cspell-dicts/issues) | ||
1. The Spell Checker is not work as expected: [Open an Issue](https://github.com/streetsidesoftware/vscode-spell-checker/issues) | ||
|
||
[test command](command:workbench.action.closeActiveEditor) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Support Request |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Sponsor |