Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug] Java Remote SSH Go To Definitions shows the absolute path, and Can not be located in Explorer View #1522

@mrmign

Description

@mrmign

Environment:

  • VS Code Version: 1.104.3
  • Extension Version: V0.30.4
  • JDK Type & Version: java version "1.8.0_181"
    Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
  • OS Type & Version: Linux

Step to Reproduce:

  • Open a maven project
  • Open one file, and focus on one Symbol, choose Go To Definition
  • The file which defines the Symbol is opened, but the path is absolute, not the relative path to the Project
Image
  • In Explore view, it can't be located in the right folder because of the absolute path
  • If you open file from Explorer or with Cmd + P, It can be located in the right folder
Image

Expected Behavior:

  • When Go To Definition, the opened file show the relative path to the project
  • In Explorer view, the file can be located in the right folder
    Actual Behavior:
  • The opened file with Go To Definition, can't be located in the right folder in Explorer View
    **Related Issues: none

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions