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 200274

Summary: Ruby Syntax highlighter fails to detect JSON notation when declaring hashes, through is a valid notation
Product: ruby Reporter: Zequez
Component: CodeAssignee: Erno Mononen <emononen>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Zequez 2011-07-21 02:09:07 UTC
Product Version = NetBeans IDE 7.0 (Build 201104080000)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_24
Runtime = Java HotSpot(TM) Client VM 19.1-b02

Ruby Sintax highligher fails to detect JSON notation when declaring hashes, through is a valid notation:

{key: "value"}

is the same as

{:key => "value"}

but Netbeans throw a syntax error