Skip to content

feat(completion): include already parsed module names in dotnu completion - #17026

Merged
ysthakur merged 4 commits into
nushell:mainfrom
blindFS:fix_dotnu_completion
Nov 15, 2025
Merged

ysthakur merged 4 commits into
nushell:mainfrom
blindFS:fix_dotnu_completion

Conversation

@blindFS

@blindFS blindFS commented Nov 15, 2025 •

Copy link
Copy Markdown
Contributor

Closes #17021

@ysthakur, the name "dotnu" seems abused after this change?

Release notes summary - What our users need to know

Added already loaded module names to completion results of use <tab>

Tasks after submitting

@ysthakur ysthakur left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I'd recommend changing the release notes summary to something like "Added already loaded module names to completion results of use "

@ysthakur
ysthakur merged commit 644da8b into nushell:main Nov 15, 2025
@github-actions github-actions Bot added this to the v0.109.0 milestone Nov 15, 2025
@ysthakur

Copy link
Copy Markdown
Member

the name "dotnu" seems abused after this change?

@blindFS lol, yeah. How about module_name_completion?

@blindFS

blindFS commented Nov 15, 2025

Copy link
Copy Markdown
Contributor Author

the name "dotnu" seems abused after this change?

@blindFS lol, yeah. How about module_name_completion?

Better IMO, we may change it when we try to move it to argument/command dynamic completion.

@blindFS
blindFS deleted the fix_dotnu_completion branch November 15, 2025 16:08
@fdncred

fdncred commented Nov 16, 2025

Copy link
Copy Markdown
Contributor

@blindFS when you have time, could you take a look at #17031? This PR seems to have introduced the regression filed there.

@blindFS

blindFS commented Nov 17, 2025

Copy link
Copy Markdown
Contributor Author

@blindFS when you have time, could you take a look at #17031? This PR seems to have introduced the regression filed there.

Are you sure it's this one? It should have nothing to do with the parser.

@fdncred

fdncred commented Nov 17, 2025 •

Copy link
Copy Markdown
Contributor

it's what git bisect said, also what weirdan figured out as well. let me know if you get a different hash/pr from git bisect. it's possible i used git bisect wrong. don't ever underestimate my ability to mess something up. LOL

@blindFS

blindFS commented Nov 17, 2025

Copy link
Copy Markdown
Contributor Author

it's what git bisect said, also what weirdan figured out as well. let me know if you get a different hash/pr from git bisect. it's possible i used git bisect wrong. don't ever underestimate my ability to mess something up. LOL

It doesn't make any sense, I'll run it myself later. But I'd suggest you double check it.

@WindSoilder WindSoilder added the notes:additions Noted in "Additions" section label Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

notes:additions Noted in "Additions" section

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature] declared modules completion

4 participants