Open quinn-p-mchugh opened 11 hours ago
Hi! I like the idea. Unfortunately I probably won't have the time to work on it until december. But I'll accept PRs if someone wants to implement it before then.
Hi @NomarCub,
Thanks for the approval!
I may give this a try, but like you, I probably won't be able to prioritize this until December/January. I'll keep you posted.
This plugin has a Create Code File
context menu item in the file explorer, that might be a good start: https://github.com/sunxvming/obsidian-vscode-editor.
And now that I look at it, you also have some items in your screenshot that are from plugins, @quinn-p-mchugh.
What are those from, above Rename...
?
Hi there,
I'd like to request a small quality of life improvement to make it easier to open folders in VS Code:
Existing Workaround
As discussed in #8, users can configure this plugin to open a specific folder in VS Code by:
Template for executing the "code" command
setting tocode "{{vaultpath}}/{{folderpath}}"
.VSCode
command button on the left sidebar.Proposed Enhancement
The goal of this enhancement would be to reduce the number of steps it takes to open a folder in VSCode from Obsidian.
To achieve this, I propose adding a new context menu item called
Open in VS Code
, displayed when the user right-clicks a folder in the Obsidian file explorer. Clicking this menu item would open the selected folder in VS Code.The new workflow would be as follows:
To accommodate user preferences, the plugin should provide the ability to enable/disable this context menu item via the plugin settings.
Rationale
My Obsidian vault contains several Git repositories that I frequently need to open in VS Code to make edits and commit changes. This enhancement would make it easier to open these repositories without needing to navigate to specific files within them.
Thanks for the consideration!