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 119156 - want hint to give the inverse of an if-statement
Summary: want hint to give the inverse of an if-statement
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-17 00:13 UTC by jamespb
Modified: 2011-01-28 20:11 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jamespb 2007-10-17 00:13:19 UTC
I'd like a hint that swapped between:

if something
  exit
else
  puts "go!"
end

and the inverse:

if !(something)
  puts "go!"
else
  exit
end

I'm OK with it ignoring the actual if-clause; just swapping the two clauses would also be fine (since I probably want
something slightly different than !(something) anyway.)

Same for unless.