Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 495206

Summary: Quick fix to set sourceType duplicates existing libs entries
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 12.0   
Target Milestone: 12.0   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2016-06-01 13:34:26 EDT
Steps:

1. create a new project
2. add a .tern-project file using the default values from the template, then change ecmaVersion to be 6
3. create a new source file with: import foo from "./exports";
4. use the quickfix to set the sourceType to 'module'
5. open the .tern-project file - you will now have two ecma5 entries