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 257940 - Netbeans cannot jump to definition for files in grails core and grails plugins
Summary: Netbeans cannot jump to definition for files in grails core and grails plugins
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Grails (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: bruno.flavio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-11 09:49 UTC by ejaz_ahmed
Modified: 2016-08-07 05:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ejaz_ahmed 2016-02-11 09:49:40 UTC
If I have a controller say PhoneController like this,

package org.gmobile.v2


import grails.converters.*
import grails.rest.RestfulController
import org.gmobile.Phone

class PhoneController extends RestfulController {
    static namespace = 'v2'
    static responseFormats = ['json']
    
    PhoneController() {
        super(Phone)
    }

    @Override
    def show() {
        def detail = params.detail ?: "complete"
        def phone = Phone.findById(params.id)        
        def phone2 = Phone.findByM
        respond(phone, [detail:detail])
    }

    @Override
    def index(Integer max) {
        params.max = Math.min(max ?: 10, 100)
        def detail = params.detail ?: "complete"
        respond Phone.list(params), [detail:detail, paging:[totalCount: Phone.count(),
                                                            currentMax: params.max,
                                                            curentOffset: params.offset ?: 0]]
    }
}


If I CTRL+Click to parent class RestfulController, it does not jump to its definition. Nor can it go to definition of respond method if I CTRL+Click on it. Netbeans however can go to definition as long as the file is in current project.
Comment 1 bht 2016-08-07 05:03:54 UTC
Hi,

I am a NetBeans user not a developer.

With the provided description, the issue does not seem to fit within priority 1 as described at

http://wiki.netbeans.org/BugPriorityGuidelines

I hope that adding the required files and upgrading the description will speed up the resolution of the issue.