kurusugawa-computer / markdown-copilot-vscode

OpenAI ChatGPT API client for VSCode
https://marketplace.visualstudio.com/items?itemName=kurusugawa-computer.markdown-copilot
MIT License
7 stars 2 forks source link

Save an Unsaved Buffer to an Appropriate File Path #13

Closed squld closed 1 day ago

squld commented 2 months ago

Proposal

We need a feature that saves the contents of unsaved editor buffers to file paths intelligently suggested by Copilot.

It would be advantageous for users to be able to define the file path structure in advance within the extension settings. For instance, a path could be configured in the settings as ${workspaceFolder}/memo/${datetime:YYYY-MM-DD}/${fileTitle}.md.

This feature allows users to effortlessly save casual memos in organized and appropriate file paths.

Other Information

squld commented 1 month ago

Source code for the Markdown › Copy Files: Destination setting in microsoft/vscode.

As you can see, it implements its own variable substitution.