| Summary: | Open Declaration fails to find readPasswordFile | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Steve Northover <steve_northover> |
| Component: | JS Tools | Assignee: | Michael Rennie <Michael_Rennie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 12.0 | ||
| Target Milestone: | 12.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Steve Northover
Likely I have something not configured properly? Ok, the behaivor is random. I had it fail in beta3 and orion.eclipse.org and work in the electron app. I have "undeclared member functions" or whatever it is called turned on so if it can't find the function, I should be seeing lint errors. Help! Ok, the behaivor is random. I had it fail in beta3 and orion.eclipse.org and work in the electron app. I have "undeclared member functions" or whatever it is called turned on so if it can't find the function, I should be seeing lint errors. Help! The problem happens because the tern project file stops the navigation from happening.
{
"plugins": {
"requirejs": {}
},
"ecmaVersion": 5,
"libs": [
"ecma5",
"browser"
]
}
The temporary fix is to remove the "plugins" section.
Problem was the .tern-project file for orion.client does not load the nodejs plugin - which means we don't follow the requires to resolve types. To detect and tell users they should be using a missing plugin will be fixed with bug 485219 http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=e81cf08f69527ce191c5c88596e6bd93267e077b |