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.

Bug 91225 - generate a pair of quotes and put cursor inside (like in java editor)
Summary: generate a pair of quotes and put cursor inside (like in java editor)
Status: VERIFIED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-18 16:49 UTC by Tomas Danek
Modified: 2007-07-03 14:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2006-12-18 16:49:25 UTC
#191
NetBeans IDE Dev (Build 061214)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Linux version 2.6.17-10-generic running on i386
cs_CZ (nb); UTF-8

if user types string = ", you could autocomplete to string = "" and put cursor
between quotes, like 
this would make work with string literals much easier.
Comment 1 Torbjorn Norbye 2006-12-18 18:40:52 UTC
I should have read ahead when evaluating #91222. Yes, this is definitely on the
radar.
Comment 2 Tomas Danek 2006-12-20 13:15:09 UTC
probably the same applies to brackets (arrays) and curly brackets (hash tables).
That would make start CC to work inside, which would be great:-)
Comment 3 Torbjorn Norbye 2007-02-01 07:16:13 UTC
This works for strings and regular expressions. It's not done for brackets and
hash tables, so I'm leaving the issue open.
Comment 4 Torbjorn Norbye 2007-02-02 18:45:21 UTC
It's working again for brackets now. (I broke it earlier this week when adapting
my code to the new lexer api for TokenSequence iteration.)

It would be nice to support hashes as well so leaving issue open.
Comment 5 Torbjorn Norbye 2007-02-02 19:21:08 UTC
I've added support for hashes as well, marking issue as fully fixed.
Comment 6 Tomas Danek 2007-05-25 14:52:17 UTC
verified for hashes, strings, arrays and regexp. 
Comment 7 Jiri Kovalsky 2007-07-03 13:58:49 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 8 Jiri Kovalsky 2007-07-03 14:42:33 UTC
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.