Bug 483323 - [tern] Avoid re-requiring default plugins
Summary: [tern] Avoid re-requiring default plugins
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: JS Tools (show other bugs)
Version: 11.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 11.0   Edit
Assignee: Michael Rennie CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2015-11-30 12:40 EST by Michael Rennie CLA
Modified: 2015-11-30 13:28 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2015-11-30 12:40:27 EST
Steps:

1. create a few projects all with different .tern-project files
2. have the projects all require a different sets of plugins
3. traverse between *.js files project to project
4. as you move around the set of plugins are loaded as specified in the .tern-project file (good), but if one of the plugins is one of the defaults it is re-required, which is wasteful (bad).
Comment 1 Michael Rennie CLA 2015-11-30 13:28:23 EST
Fixed in:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=fcf351c11970652fce3990f8a8d2080682584eda

I also moved our (orion) plugins out of the default tern plugins directory to make it easier to update the versions of Tern