mushanshitiancai / vscode-paste-image

paste image from clipboard to markdown/asciidoc directly!
MIT License
426 stars 129 forks source link

pasteImage.path in settings.json of the foam vscode extemsion is ignored #103

Open JamesLarkinWhite opened 2 years ago

JamesLarkinWhite commented 2 years ago

Dear all i have just started using Foam together with your extenison.

I have added multiple folders to the Foam workspace which containt my notes. Each of these folders has its own attachments folder where i want my images belonging to notes in this folder to be saved, instad of the root/attchement folder Hower this setting:

"pasteImage.path": "${currentFileDir}/attachments", 

in foams settings.json file seems to be ignored.

I see the folowing error message:

This setting cannot be applied in this workspace. 
It will be applied when you open the containing workspace folder directly.

The original setting was:

 "pasteImage.path": "${projectRoot}/attachments",

Do i have to do anything besides saving the json file and restarting vscode?

Thank you in advance

See also : link

vezaynk commented 2 years ago

This repository has not seen any activity in over 3 years. There is an actively maintained fork here: https://github.com/telesoho/vscode-markdown-paste-image

Your use-case works in the fork.