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 - Typing code in a =begin comment tries to auto-complete
Summary: Typing code in a =begin comment tries to auto-complete
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-01 16:58 UTC by headius
Modified: 2007-07-03 14:43 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 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.