Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't show source code with Docker setup on Mac #153

Open
pasewka opened this issue Nov 18, 2023 · 1 comment
Open

Doesn't show source code with Docker setup on Mac #153

pasewka opened this issue Nov 18, 2023 · 1 comment

Comments

@pasewka
Copy link

pasewka commented Nov 18, 2023

I followed the Readme steps to configure the extension to use a local Docker container.

VSCode: v1.84.2
Extension: v2.16.0

Trying to follow the method/class definition (CMD + click) leads to The editor could not be opened because the file was not found. error instead of the source file/code of the specific definition.

Actual Error:

Screenshot 2023-11-17 at 22 11 30

Simple hovering (CMD + hover) on the methods/classes works as expected and provides the necessary details:

Screenshot 2023-11-17 at 22 11 24
@marriagav
Copy link

marriagav commented Aug 1, 2024

Im having the same issue on a M1 Mac. Autocomplete and hovering both work as expected but cannot jump to definition.

Running on Docker

settings.json

{
  "hack.remote.enabled": true,
  "hack.remote.type": "docker",
  "hack.remote.docker.containerName": "my_project-hack-dev-1",
  "hack.remote.workspacePath": "/app",
  "hack.trace.server": "verbose",
  "hack.useLanguageServer": true
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants