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 - No syntax coloring and code completion for embedded CSS/JS in GSP file
Summary: No syntax coloring and code completion for embedded CSS/JS in GSP file
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: GSP (show other bugs)
Version: 7.4
Hardware: PC All
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
: 240550 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-20 14:36 UTC by renouf
Modified: 2014-03-28 10:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (61.35 KB, text/plain)
2013-09-20 14:36 UTC, renouf
Details
Screen shot (19.75 KB, image/png)
2013-09-20 14:39 UTC, renouf
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***