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 179344

Summary: [gsp-cc] No apostrophe completion in GSP files
Product: groovy Reporter: douglasv <douglasv>
Component: GSPAssignee: Martin Janicek <mjanicek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: All   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 171816    

Description douglasv 2010-01-09 10:14:48 UTC
I used If() and the editor did not catch the Capitol I.

should be if()

Also, if an apostrophe or quote follow
a $ sign or other apostrophe/quote , it will not 
close itself, especially when using g namespace
Comment 1 Martin Janicek 2011-12-07 15:10:43 UTC
The first point is not an issue. Editor is not trying to change your code (this works in the same way as in Java editor).

Second point seems to be valid - changing issue description
Comment 2 Martin Janicek 2011-12-07 15:10:57 UTC
The first point is not an issue. Editor is not trying to change your code (this works in the same way as in Java editor).

Second point seems to be valid - changing issue description
Comment 3 Martin Janicek 2012-12-11 14:13:18 UTC
Actually this is a missing feature as it looks that GSP was never implemented properly :/
Comment 4 Martin Janicek 2012-12-11 15:22:25 UTC
We should get rid of the GspKit and implement Typing Hooks API for GSP files. Al the logic together with this task should be done in TypedTextInterceptor implementation.
Comment 5 Martin Janicek 2013-01-03 15:57:57 UTC
Changing to enhancement and setting TM = TBD. This was never implemented for GSPs and I don't feel that it makes sense to implement this with only a few GSP users.

If there will be a need for this, we should get rid of GspKit, use Typing Hooks API and do it together with all other code completion related stuff noted in issue 171816.