Skip to content

Thoughts on autocomplete and tab complete #40

@Parth

Description

@Parth

Some thoughts

  • Tab complete is broken on macOS. On linux, you are able to expand cd d/s/p <tab> to cd documents/SAP/presentations. Not the case in macOS. Might be due to the cd alias stuff we have going on.

  • Accepting suggestions from the history is unintuitive. The separation between historical suggestions, and context based ones is useful, but hard to understand without an explicit explanation.

  • So it should certainly not offer a historical suggestion that contains a relative path if the pwd's are different.

  • A command might implicitly also take a relative path. npm run serve for example implicitly depends on the existence of not only a package.json in the pwd, but also the existence of package.json.scripts.serve.

  • Could machine learning infer these relationships?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions