Bug 296208 - [content assist] JS source editing - Autocomplete and jsdoc inferring don't work if...
Summary: [content assist] JS source editing - Autocomplete and jsdoc inferring don't w...
Status: RESOLVED WORKSFORME
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: wst.javascript CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2009-11-26 03:48 EST by Michele Giacomelli CLA
Modified: 2010-04-19 16:53 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michele Giacomelli CLA 2009-11-26 03:48:55 EST
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
Build Identifier: 20090621-0832

Autocomplete and jsdoc inferring features don't work if a js object was declared like the following:

[...]
var myObj = {
    /**
     * My dummie function
     * @param {String} string
     * @type String
     */
    myFunction:function(string){
       return string;
    }
}
myObj.myFunction( [...]

Reproducible: Always

Steps to Reproduce:
1. write the code of "myObj"
2. try to get suggestions after writing "string." in myFunction or try to open jsDoc box moving the mouse on "myObj.myFunction("
Comment 1 Nitin Dahyabhai CLA 2009-11-30 23:58:22 EST
You're seeing this when the file is located within a JavaScript Source folder of a JavaScript or web project?
Comment 2 Nitin Dahyabhai CLA 2010-04-19 16:53:27 EDT
Works for me in a source folder.