Documentation and opt-in autocomplete for other languages #14

Open
chrisjaure opened this Issue Oct 11, 2012 · 1 comment

Projects

None yet

2 participants

@chrisjaure

I'm not sure there's much you can do here, but I've set up sub and created a javascript subcommand. To get automatic documentation and opt-in autocomplete, I had to make weird comments like

/*
# Usage: blah
*/

/*
# Provide sn completions
*/

because the comment syntax (#) is hard-coded. I realize this isn't a simple fix, but I thought I'd bring it up anyway.

Ideally, the language's comment syntax would be used so in javascript, I could just write:

/*
Usage: blah
*/

// Provide sub completions
@qrush

Awesome! Yeah, I figured this would come up. We should just handle // as well as #.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment