This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I'm using NB 3.5.1. Overall I find the abbreviations quite handy, but there's one that's really bugging me. Every time I try to type "you're " in a comment, it comes out as "you'return "... Okay, so I could just change the abbreviation to, say, "ret" instead of "re". However, if I type "more " that doesn't get mangled in this way, so it seems to me that the real problem is the apostrophe is being treated as a word break when it shouldn't.
Reassigned to editor for evaluation.
Abbreviations treat apostrophe as separator which is the reason why it gets expanded after typing you're. Besides changing 're' abbrev you can also use Shift+SPACE which will type space without expanding of the abbreviation. Is that acceptable workaround for you?
The abbreviation works as expected. If you want, the abbreviations don't work in comments, then please fill a separate enhacement. Other workarounds are create e.g. this abbreviation yr="you're", or remove the "re" from abbreviations. Can be this issue closed?
>If you want, the abbreviations >don't work in comments, then please fill a separate enhacement. ... >Can be this issue closed? It seems inefficient to close this issue only to open another one for the enhancement request. Instead, I've downgraded this from a bug to an enhancement; trust that's okay?
Ok, thanks.
*** Issue 38083 has been marked as a duplicate of this issue. ***
*** This issue has been marked as a duplicate of 16310 ***