Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binding "Open with Inkdown" produces an "invalid argument 'resource'" error #121

Open
tsbertalan opened this issue Jan 24, 2025 · 1 comment

Comments

@tsbertalan
Copy link

"Open with Inkdown" works on right-click menu in the Explorer View in vscode, but if I bind it to a keyboard shortcut like e.g. (keybindings.json)

    {
        "key": "ctrl+shift+alt+i",
        "command": "inkdown.openEditor"
    }

and invoke it when a md file is opened with the regular text editor, I get

Invalid argument 'resource' when running 'vscode.openWith', received: undefined 
@1943time
Copy link
Owner

Currently, inkdown does not support opening directly using commands. It is recommended to open it by clicking with the mouse. The next version will try to be compatible with the command opening method.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants