-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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
ensure spec and builtin commands show up before misc ones #240724
Conversation
src/vs/workbench/contrib/terminalContrib/suggest/browser/terminalCompletionModel.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice solution to start with! I wanted built-ins specifically boosted but we can now do that by adding more details as needed to the shell/
files
src/vs/workbench/contrib/terminalContrib/suggest/browser/terminalCompletionModel.ts
Outdated
Show resolved
Hide resolved
a6e13ab
to
5f7cf3b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to merge and polish up after once CI passes. I made #241128 for me to follow up, please create any other issues from this that we should close out afterwards if you have any.
src/vs/workbench/services/suggest/browser/simpleSuggestWidget.ts
Outdated
Show resolved
Hide resolved
@@ -8,20 +8,20 @@ import cdSpec from '../../completions/cd'; | |||
import { testPaths, type ISuiteSpec } from '../helpers'; | |||
|
|||
const expectedCompletions = ['-']; | |||
|
|||
const cdExpectedCompletions = [{ label: 'cd', description: (cdSpec as any).description }]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Tyriar fyi these as any casts were needed bc it said description
did not exist on fig.spec
, which makes no sense
fix #239977
Screen.Recording.2025-02-14.at.2.50.24.PM.mov