GrandChris/TerminalRelativePath

"Unable to open ...: Unable to read file.

Zataras opened this issue · 2 comments

Hi,

This is useful extension, thanks :)

I've found an issue, which is annoying. File is actually being opened properly when I click relative filepath, but pop up is showing up complaining that file does not exists...

Like this:
image

Do you have any idea why this is happening?

Regards

@Zataras This also happens to me because my source (where my main CMakeLists.txt is) is not in the first level folder of my git.
This line must be changed to the source path defined at settings.json.
https://github.com/GrandChris/TerminalRelativePath/blob/main/src/extension.ts#L56

Hi, I appreciate your interest in this extension, but it became obsolete with https://gitlab.kitware.com/cmake/cmake/-/merge_requests/6148. I recommend updating to CMake >3.21.0.