Skip to content
This repository

Auto-close special characters everywhere #396

Open
defunkt opened this Issue August 24, 2011 · 3 comments

4 participants

Chris Wanstrath Fabian Jakobs Garen Torikian Kasper Peulen
Chris Wanstrath

Right now JavaScriptMode auto-closes special characters such as " ' ( { etc. It also surrounds text with these characters if you select the text then type one, e.g. selecting user and typing " produces "user".

It'd be awesome if this feature was enabled in every mode. Maybe in TextMode? In TextMate even plain text mode auto-closes quotes and it's great.

In particular, I'm missing this feature when writing CoffeeScript, Ruby, Markdown, etc.
@gissues:{"order":54.65838509316791,"status":"backlog"}

Fabian Jakobs
Owner
Garen Torikian
Collaborator

@fjakobs @nightwing I hope I am not oversimplifying the problem, but isn't it a matter of just setting
this.$behaviour = new CstyleBehaviour();
?

For example: http://screencast.com/t/cf9DVzH5ld

Kasper Peulen

@gjtorikian How does that work? I''m trying to get behaviours enabled for latex:
http://jsfiddle.net/U5JtP/7/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.