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

import paths are not recognized for vibe-d dependency #471

Open
fuzzysloth opened this issue Mar 12, 2024 · 0 comments
Open

import paths are not recognized for vibe-d dependency #471

fuzzysloth opened this issue Mar 12, 2024 · 0 comments

Comments

@fuzzysloth
Copy link

fuzzysloth commented Mar 12, 2024

Navigation and autocompletion are broken for recent versions of vibe-d dependency (e.g. version 0.10.0).

Way to reproduce: open any stand-alone vibe-d based project in vscode and try to navigate to a class definition that belongs to vibe-d or try to autocomlete or navigate to one of vibe-d modules in imports. The operation fails. Also code-d is not able to recognize vibe-d sub-project versions and shows "Import paths are empty!" warning on dub dependencies refresh.

Expected behavior: obviously, autocompletion and navigation to definitions should work.

A partial workaround: generate a list of import paths for a project (as described here, the 1st command) and add them to "importPaths" of your project. (This doesn't fix dub dependency view and the warning, though.)

UPD: dlangide seems to have a similar issue. Dub works fine without any issues.

Versions:

  • code-d: v0.23.2
  • vibe-d: 0.10.0
  • dlangide: 0.8.18
  • dub: 1.36.0
  • serve-d: v0.7.6 with workspace-d v3.7.0

OS: GNU/Linux

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

1 participant