getappmap / appmap-intellij-plugin

MIT License
38 stars 9 forks source link

Integrate the Navie context panel #677

Closed dustinbyrne closed 7 months ago

dustinbyrne commented 7 months ago

Sample context data is available here: https://raw.githubusercontent.com/getappmap/appmap-js/main/packages/components/src/stories/data/navie_context.json

jansorg commented 7 months ago

@dustinbyrne Are lines 1-based or 0-based? Update: 1-based, it seems.

jansorg commented 7 months ago

@dustinbyrne Is VSCode displaying an error if no file for a given relative path was found?

kgilpin commented 7 months ago

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 commented 7 months ago

@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.

https://github.com/getappmap/appmap-js/blob/a51cb16f8f81a240d7662ff23ff2a175d1a8c39b/packages/navie/src/context.ts#L48-L54

dustinbyrne commented 7 months ago

@dustinbyrne Is VSCode displaying an error if no file for a given relative path was found?

At the moment nothing happens.

appland-release commented 7 months ago

:tada: This issue has been resolved in version 0.65.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: