-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Brace pairing behaviours don't always take affect #1393
Comments
looks like this is caused by eclipse style "smart" autopairing added for js, it should be disabled for css |
Are you saying |
I would like to have |
I'm noticing this issue in Golang as well. Although, the Behavior code appears to be in the JS file: And I still don't get the auto-pairing functionality in the editor. Everything else seems to work fine though. I noticed the same behavior in the Kitchen Sink demo: http://ace.c9.io/kitchen-sink.html Here are a few of the languages I tested:
|
Looks like go mode includes |
I can't think of any languages that wouldn't benefit from it besides maybe HTML. In the meantime, is there an easy way to include auto-pairing in other languages like Golang? |
Is there any way to force the |
I was able to add this to tcl by looking at the javascript mode and looking at the tcl mode. You need to:
modify:
|
this have been fixed some time ago #2936 |
Here are my settings:
In an empty editor, when I type
td {
it does not add a closing}
. If I add it manually, and then typetd {
for a second time it works as expected (adding the closing}
).It seems behaviours don't work for the first style tag in a CSS document, but after that it does.
Using
src-min-noconflict
from rev1d8a5a3b39dde30c3f652c8c9f3f26a9b4016e70
.The text was updated successfully, but these errors were encountered: