Skip to content
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

Thoughts on autocomplete and tab complete #40

Open
Parth opened this issue Jun 11, 2018 · 1 comment
Open

Thoughts on autocomplete and tab complete #40

Parth opened this issue Jun 11, 2018 · 1 comment
Assignees

Comments

@Parth
Copy link
Owner

Parth commented Jun 11, 2018

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?

@Parth Parth self-assigned this Jun 12, 2018
@Parth
Copy link
Owner Author

Parth commented Jan 11, 2019

Some thoughts

Tab complete is broken on macOS. On linux, you are able to expand cd d/s/p 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant