nushell / nushell/vscode-nushell-lang
Module not found
Nobody has claimed this yet.
- Dominant language
- Nushell
- Stars
- 153
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
Setup
- Windows 11 Pro
- Nushell 0.111.0
- VSCodium 1.110.11631
- Nushell extension 2.0.4 (same behaviour on this and the release version)
Environment
I have a suite of Docker images containing Nu scripts, grouped into modules.
In the VSCodium workspace config I have various 'nushellLanguageServer.includeDirs' defined to import modules into the source for each Docker image.
Error
Switching on today to update one of my images I noticed the following:
The files / modules all exist and have correct mod.nu etc, and the image runs fine, so I am assuming this is an issue with the extension? I have switched trace on in the extension settings and don't see anything useful in there. It feels like the include directories are no longer being included by the extension / LSP?
Unfortunately both Nushell and VSCodium have had updates since I last worked on the project.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the report with the workspace's nushellLanguageServer.includeDirs settings and the Docker-image module layout. Inspect the extension's language-server trace and include-directory handling to determine why existing mod.nu modules are reported missing; done means the modules resolve correctly in VSCodium.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell, vscode
- Domain
- devtools, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100