Skip to content

Add --verbose option to REPL trace #5144

@Jason3S

Description

@Jason3S

Adding a --verbose option to the REPL

Ooh, that could be awesome I didn't even know there is a REPL, maybe it should also be in the docs 😅

It was a newish addition I added to address the common request to scan all files in a project without installing cspell. My standard advice was to install cspll, but when VSCode added the ability to open remote repositories, that no longer worked.

Here are some example steps to try it out.

The spell checker works with remote repositories:

Image Image Image Image Image

It is not as fast a local, but it works.

Are you interested in improving the REPL or the info screen?

Sure! I'm always up to help improve the tools that I use As mentioned, I never developed a VSCode extension, so that might take me some time to get into But the --verbose should be part of the REPL? isn't it part of the CLI tool itself?

The extension calls the cspell library, but doesn't use the cspell CLI. The cspell CLI is expected to run in the shell. When connecting to remote repositories, there isn't a shell.

The trace command is here:
https://github.com/streetsidesoftware/vscode-spell-checker/blob/main/packages/client/src/repl/cmdTrace.mts

I believe that is the only file that needs to be changed if the server API returns the dictionary url.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions