-
Notifications
You must be signed in to change notification settings - Fork 97
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
Dialog to provide filename for image paste #699
Comments
That's a good idea, feel free to submit a pull request. |
Or if we can't have a dialog box, maybe expose settings that we can change ... https://marketplace.visualstudio.com/items?itemName=mushan.vscode-paste-image https://github.com/mushanshitiancai/vscode-paste-image I've had decent luck with the above Extension, however, it breaks when used with your extension. If the Asciidoctor-VSCODE extension is uninstalled, it is possible to use the vscode-paste-image extension and specify some settings and those will be honored. It would appear that some of the image pasting is hard-coded in the application here and I'm not the greatest coder (more of an admin and can change small snippets of code). |
FYI, I can get both plugins to run and do what I want on a Windows system, I just can't do it on a MacOS system and don't think I can do it on Linux either, but haven't tried as much there. |
Since asciidoc's paste image feature offers no configuration, it always puts images in an invalid location and is not useful for my project. I was able to get the Here's the settings I use for the other extension: {
"pasteImage.showFilePathConfirmInputBox": true,
"pasteImage.basePath": "${projectRoot}/modules/ROOT/images/",
"pasteImage.path": "${projectRoot}/modules/ROOT/images/organizeMe",
"pasteImage.defaultName": "Y-MM-DD-HH-mm-ss",
"pasteImage.namePrefix": "renameMe_"
} |
@budak7273 I think you are referring specifically to the use case where you copy/paste an image with an Antora structure? This is probably related to #830? |
ctrl + alt + v pasting image clipboard with default name. Is it possible to have a dialog box to provide filename? Similar feature is present in VS Code Paste Image plugin.
The text was updated successfully, but these errors were encountered: