Closed dustinbyrne closed 7 months ago
@dustinbyrne Are lines 1-based or 0-based? Update: 1-based, it seems.
@dustinbyrne Is VSCode displaying an error if no file for a given relative path was found?
Context item should have a directory; this may be something we can fix now.
The file may still need to be located though, because the Java agent can’t always determine full file paths.
On Fri, Apr 26, 2024 at 06:24 Joachim Ansorg @.***> wrote:
@dustinbyrne https://github.com/dustinbyrne Are lines 1-based or 0-based?
— Reply to this email directly, view it on GitHub https://github.com/getappmap/appmap-intellij-plugin/issues/677#issuecomment-2079111554, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAVC63ANUR6QZVERQKZJGTY7ITMHAVCNFSM6AAAAABGZLYF32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZZGEYTCNJVGQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
@dustinbyrne Are lines 1-based or 0-based? Update: 1-based, it seems.
This is correct, they are 1-based.
Regarding the location of relative paths, a directory
will indicate the root directory of a particular location. As Kevin mentioned, some paths may still be partial, but they should be able to be located within the directory given.
@dustinbyrne Is VSCode displaying an error if no file for a given relative path was found?
At the moment nothing happens.
:tada: This issue has been resolved in version 0.65.0 :tada:
The release is available on:
v0.65.0
Your semantic-release bot :package::rocket:
@appland/components
is updated in the Navie viewopen-location
, which indicates the user has requested to open contextual information in the editor, directly from the source.path:startingLine-endingLine
. Below are all valid examples:appmap.json
, the starting line is actually an event ID. The AppMap should be opened with the following state, where `${startLine} is substituted with the starting line or event ID.directory
property will indicate where the file is located. It may still need to be searched for (i.e., a partial path), though thedirectory
will identify the correct root directory. See this source for more information.Sample context data is available here: https://raw.githubusercontent.com/getappmap/appmap-js/main/packages/components/src/stories/data/navie_context.json