mgiesen / mgiesen/Image-Comments
Small issue with directories starting with a "special" character, like ".vscode" ?
- Dominant language
- JavaScript
- Stars
- 11
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Thanks for your very helpful work.
I think there might be a small issue with directories starting with a "special" character, like ".vscode"
Window 10,
Image Comments v 1.3.0
My source file is located in: d:\....\my_project
// ! [../images/My_Image.png] : works ok
If the relative directory to store the images start with a DOT (.) then it does not work.
Example:
// ! [../**.images**/My_Image.png]
Hovering over the ! [] area displays an error message :
Image Comments
Could not find image relative to the file.
Path: d:\....\\**my_project.images**\My_Image.png
It merges the "/." in "." ("\." -> ".")
Same issue with other leading "special" characters, like '_', '=', '~' ...
B.R
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue in the Image Comments Visual Studio Code extension using the reported relative paths, including directories beginning with '.', '_', '=', and '~'. Trace the path handling from the image comment hover and verify that images in such directories are found without changing the intended path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100