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 236197

Summary: No syntax coloring and code completion for embedded CSS/JS in GSP file
Product: groovy Reporter: renouf <renouf>
Component: GSPAssignee: Martin Janicek <mjanicek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: All   
See Also: https://netbeans.org/bugzilla/show_bug.cgi?id=240550
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log
Screen shot

Description renouf 2013-09-20 14:36:50 UTC
Create a .gsp in a grails project and add <script>...</script> section, no color coding or identation works. Works perfectly in .html or .php.


Product Version = NetBeans IDE 7.4 RC1 (Build 201309162201)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.7.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Comment 1 renouf 2013-09-20 14:36:52 UTC
Created attachment 140309 [details]
IDE log
Comment 2 renouf 2013-09-20 14:39:25 UTC
Created attachment 140310 [details]
Screen shot
Comment 3 Vladimir Riha 2013-09-25 14:32:17 UTC
Reproducible also with CSS in style tag. Thank you for reporting.


Product Version: NetBeans IDE Dev (Build 201309250002)
Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b56
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 4 lostinspace2011 2013-10-20 03:03:24 UTC
I am having the same problem with standard Java code. Since upgrading to 7.4 all my .java files don't have any color theme applied and code completion also doesn't work. Even though there are colors defined in the option sections, not even the preview area show any color.
Comment 5 lostinspace2011 2013-10-20 03:06:52 UTC
Restarting Netbeans seems to have resolved this.
Comment 6 Martin Janicek 2014-03-28 10:25:06 UTC
*** Bug 240550 has been marked as a duplicate of this bug. ***