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

Add auto bracket and quotes closing #60

Open
fjenett opened this Issue Apr 25, 2014 · 3 comments

Comments

Projects
None yet
4 participants
@fjenett
Copy link
Member

fjenett commented Apr 25, 2014

Similar to speed tool or how it is implemented in other IDEs like Sublime Text

@fjenett fjenett added the gsoc14 label Apr 25, 2014

@joelmoniz

This comment has been minimized.

Copy link
Member

joelmoniz commented Apr 26, 2014

Here's a possible list of things that would be nice to auto-complete:
( )
{ }
[ ]
/* */
" "
' '

A possibility is to provide customization options to the user. For example, the user can specify how many new lines (if any) (s)he would like between the opening and closing brackets of { and }, and on which line between the 2 the cursor should be placed, etc. The user could also have other options, such as which symbols (s)he would like auto-completed. Note that on the down side, this might become a little complicated and confusing for the user.

@fjenett

This comment has been minimized.

Copy link
Member

fjenett commented Apr 29, 2014

Super. Thanks Joel!

@GKFX

This comment has been minimized.

Copy link

GKFX commented May 12, 2014

I don't think /* */ should be auto-completing, since it is very common to comment out what you've already got. Likewise, " and ' might not be inserted when before a letter - that one's more difficult to decide.
Also, many systems let you type over stuff that's been auto-inserted, so typing draw``(``) doesn't produce "draw())".

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