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 105419

Summary: Typing code in a =begin comment tries to auto-complete
Product: ruby Reporter: headius <headius>
Component: CodeAssignee: Torbjorn Norbye <tor>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description headius 2007-06-01 16:58:34 UTC
=begin and =end are Ruby's usual way to do block commenting. However if you type
normal code inside the block comment, it tries to treat it as normal code and
expand it. For example, typing a / character automatically adds a closing /
character.

=begin/=end blocks should be treated like comments as far as code completion goes.
Comment 1 Torbjorn Norbye 2007-06-26 22:30:26 UTC
Fixed.

IDE:-------------------------------------------------
IDE: [6/26/07 2:29 PM] Committing started
Checking in BracketCompleter.java;
/cvs/scripting/ruby/editing/src/org/netbeans/modules/ruby/BracketCompleter.java,v  <--  BracketCompleter.java
new revision: 1.14; previous revision: 1.13
done
IDE: [6/26/07 2:29 PM] Committing finished
Comment 2 Jiri Kovalsky 2007-07-03 14:12:31 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 3 Jiri Kovalsky 2007-07-03 14:43:23 UTC
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.