NomarCub / obsidian-open-vscode Public
generated from obsidianmd/obsidian-sample-pluginNew 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
Plugin doesn't open my vault in VS Code #3
Comments
|
I don't have a mac to test on, so please help me out here. Have you tried the URL option? |
|
Glad it works now! |
|
Yeah, bumped at this issue too. If you are working on Linux you can always check |
|
Thanks for the recommendation. |
|
I have the same problem with macOS 11.5. But I can't switch to the URL method because I'm trying to open a Dendron workspace, which requires that I use the command: And there are no errors in the Obsidian Developer Console. |
|
Does the command (with vaultpath substituted) work in a normal shell? If not I could make some modifications with more logging to send you. |
|
The command in the shell does work. I go to the vault and run: Sure, I can take your mods |
|
Here's a modified main.js with more logging. This plugin uses Node.js |
|
Thanks, that extra logging didn't help but you pointed me to the code where I could add my own logging. It turns out that we needed the full path of So this worked: Btw, this is the debugging code that helped me figure it out, which you may want to add to your code: const execResult = exec(command, (error, stdout, stderr) => {
if (error) {
console.error(`exec error: ${error}`);
return;
}
}); |
|
I'm glad it works, and thanks for the tip! |
I've downloaded and enabled the plugin, but when I either click the ribbon or select command from the command palette, Obsidian freezes for a couple of seconds then nothing happens.
I'm on MacOS Big Sur 11.4, using the latest version of Obsidian and the latest version of the plugin. VS Code itself works fine for me.
The text was updated successfully, but these errors were encountered: