-
Notifications
You must be signed in to change notification settings - Fork 7
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
Auto-closing paired symbols #20
Comments
Current status:
|
Keep up the great work, @bjansen ! |
Remembering what I originally had in mind when I wrote the issue, it's about offering the option names Re. |
OK, so this is actual code completion (the other items were more "auto closing" than code completion per se).
To be consistent with XML/HTML files, I suppose |
I've created #33 to separate the autoclosing of symbol pairs and actual autocompletion for identifiers and keywords. For |
If we make it opt-in, I think there's a good chance that users won't even know that the option exists, and thus it will never be used. |
This is probably an opportunity to implement "Surround With..." :) |
You can already define your own live templates, but sure it would be better to ship them in the plugin directly. |
Here's a preview of what I did so far. Most of what's listed in your request should work, except for |
Thanks, I tested the snapshot and found the following:
|
Weird, it all works fine on my machine and in unit tests. How did you install the plugin? |
I used "Install plugin from disk" and selected your zip file. But I found the problem. I was testing at the top of an existing stg file. The templates had |
When typing new templates, it would be very useful if certain opening/closing constructs were autocompleted. This applies to:
foo(
)
<<
>>
,<%
%>
,"
"
<
>
(also for customdelimiters
?)<if(
)>
<endif>
<foo:{
}>
The text was updated successfully, but these errors were encountered: