warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.38k stars 373 forks source link

autocomplete doesn't work with the built in saleforce sf autocomplete #4454

Open djs959 opened 8 months ago

djs959 commented 8 months ago

Discord username (optional)

No response

Describe the solution you'd like?

When using the salesforce cli, it doesn't recognize the native autocomplete built into the sf command when using tab.

I start typing sf pro and hit tab and instead of giving me sf project if gives a filename in the local directory which would never been correct in this context.

Untitled 2

The actual command I'm trying to build would be something like sf project deploy start -o Prod -d force-app/

Ideally I'd like it to know when I'm tabing in the sf project deploy start -o part of the command to pass the tab to the sf command so I get its auto complete. Or provide native support for the sf command in the warp autocomplete.

Is your feature request related to a problem? Please describe.

No response

Additional context

No response

How important is this feature to you?

3

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

daniel-mortensen-ovo commented 5 months ago

I too would love to have this functionality. It looks like the Completions feature in Warp supports sfdx but not sf. For non-Salesforce developers, sfdx is the deprecated Salesforce cli command and the more modern and fully featured version is sf. I concur that sf should be supported as it's more contemporary. Possible workaround is for users to use sfdx commands where possible.