streetsidesoftware / vscode-spell-checker

A simple source code spell checker for code
https://streetsidesoftware.github.io/vscode-spell-checker/
Other
1.43k stars 127 forks source link

Considering to support custom scheme #385

Closed Sneezry closed 5 years ago

Sneezry commented 5 years ago

Currently, Code Spell Checker only supports file and untitled scheme:

https://github.com/streetsidesoftware/vscode-spell-checker/blob/384637e696e7667ef3c58098572521c4c9a82e08/packages/client/src/util/uriHelper.ts#L4

This design makes sense in most scenario.

Recently, I made an extension for DEV Community (https://dev.to/sneezry/write-posts-in-dev-community-using-visual-studio-code-2l4o), which uses custom scheme (devto:). I noticed some users suggest this extension (Code Spell Checker) to use together, however, I found this extension cannot work together with my extension.

Could you please add custom scheme support? Thanks very much.

Jason3S commented 5 years ago

It is already possible to add a new schema in VS Code preferences. See image.

image

Open preferences and search for allowed schemas. Add new item: devto.

Jason3S commented 5 years ago

You will need to restart VS Code for it to take effect.

Sneezry commented 5 years ago

Wow, I have confirmed that works! Thanks.

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.