How to change the filname including currentFileNameWithoutExt
See original GitHub issueFirst i want to thank you for your plugin!
My config is this:
"pasteImage.path":"${currentFileDir}/assets/${currentFileNameWithoutExt}"
so my result imagename is:
![](assets/Bestellprozesse/2018-01-23-13-46-54.png)
How to change the Filename to this ?
![](assets/Bestellprozesse_2018-01-23-13-46-54.png)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How do I get the filename without the extension from a path in ...
You can just find the index of the first dot in the basename and then slice the basename to get just the filename...
Read more >6 Best Ways to Get Filename Without Extension in Python
First, we will have to separate the pathname and the extension. Then from the pathname, we shall separate the filename with the directory...
Read more >Add a file name without the extension into a cell in Excel
I just want the name. Insert the current file name only. Type or paste the following formula to insert the name of the...
Read more >Get filename without extension in Python - Techie Delight
This post will discuss how to get a filename without an extension from the specified path in Python. 1. Using os.path.splitext() function.
Read more >Read filename without extension in Bash - Linux Hint
The following `basename` command will retrieve the filename with extension. SUFFIX is omitted from this command. Here, the output is 'product.txt'. $ basename...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I’m come back😄
You can update vscode-paste-image to v1.0.1.
New configuration
pasteImage.namePrefix
can meet your need. Like this:@tatoosh Sorry, It’s a bug. I fixed in version 1.0.2.