| Summary: | [content assist] New property of the "window" does not appear in code assist pop-up | ||
|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Eugene Ostroukhov <eostroukhov> |
| Component: | General | Assignee: | Chris Jaun <cmjaun> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Chris Jaun <cmjaun> |
| Severity: | normal | ||
| Priority: | P3 | CC: | thatnitind |
| Version: | 3.2.2 | ||
| Target Milestone: | 3.5.1 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
Works in WTP 3.5.1. Checked against 7/18 build. |
I wrote the following script: function myfunction() { return "Some string!"; } window.afunc = myfunction; I do not get code assist for this new member if I write: function run() { document.getElementById("test").innerHTML = window.a|<Ctrl+Space> } But the code will work in browser. I will get code assist proposal working as expected if I do: Window.prototype.afunc = myfunction; But this code does not work in browser.