Bug 493582 - Make the resolver a proper Tern plugin
Summary: Make the resolver a proper Tern plugin
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: JS Tools (show other bugs)
Version: 10.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 13.0   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
Depends on:
Blocks: 493580 508687 508702 508703 508753
  Show dependency tree
 
Reported: 2016-05-12 16:32 EDT by Michael Rennie CLA
Modified: 2017-01-04 11:30 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2016-05-12 16:32:15 EDT
Currently we have a resolver class that is use by the Tern framework plugins to look up and resolve logical names to real files in the Orion workspace.

This is great for loading correct files - but it is never cleared out, meaning its memory use constantly grows until the page is refreshed.

We should make it into a proper plugin that registers as a resolver using the new API in Tern 18. That way all of the other plugins can use it without additional hacks in them (hopefully) and it can respond to Tern reset phases to remove cached entries.
Comment 3 Curtis Windatt CLA 2016-12-06 15:34:46 EST
http://git.eclipse.org/c/gerrit/orion/org.eclipse.orion.client.git/commit/?id=7218e100ca2e67673326bc9a3bc3ff917c74d595
The fix was temporarily reverted for Bug 508753.  I modified the code to fix that issue and committed it to master.
Comment 4 Curtis Windatt CLA 2017-01-04 11:30:14 EST
This was fixed for 13.0.