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

Autocomplete experiment #75

Merged
merged 9 commits into from
May 19, 2015
Merged

Autocomplete experiment #75

merged 9 commits into from
May 19, 2015

Conversation

jankowiakmaria
Copy link
Collaborator

No description provided.

var complete = omelette('oc <action>');

complete.on('action', function(fragment, word, line){
this.reply(Object.getOwnPropertyNames(commands.oc).sort());
Copy link
Member

Choose a reason for hiding this comment

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

can you use _.keys(commands.oc) here for consinstency?

Copy link
Member

Choose a reason for hiding this comment

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

Also, can we move the auto-complete stuff to a separate file, so that we can have here just something like

var autocomplete = require('./autocomplete'); 
...
autocomplete.setup(commands);

matteofigus added a commit that referenced this pull request May 19, 2015
@matteofigus matteofigus merged commit 4978f25 into master May 19, 2015
@matteofigus matteofigus deleted the AutocompleteExperiment branch May 19, 2015 11:23
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

Successfully merging this pull request may close these issues.

2 participants