mgiesen / mgiesen/Image-Comments

Regexp problem if there is no comment in front of the image path

Open
#11 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
11
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Hi !

Image comment v 1.1.0, Debian 12, VScode 1.93.0, C++ code

I always have the following error "Image Comments Could not find image"

I tried local and canonical paths, jpeg, png ;(

Have I missed apt-get install a lib?

```c++
// *****************************************************************************
//! \brief bla bla
//! [/home/qq/Bureau/foo.png]
// *****************************************************************************
struct Foo { ...
```

And there is no display and no message error with the following comment:

```c++
// [/home/qq/Bureau/foo.png]
struct Foo { ...
```

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files or tests are named. Start by reproducing the issue in the Image Comments VS Code extension with the two C++ comment examples and then trace the image-path handling from the extension entry point. Done means the image path is handled consistently when preceded by documentation comments and when used directly.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, javascript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.