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

Bug 367232

Summary: javascript template proposals in content assist
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ClientAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 0.4   
Target Milestone: 0.4 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 344203    

Description John Arthorne CLA 2011-12-20 13:03:36 EST
0.4 M1

JavaScript content assist should support templates for basic control structures (if/while/switch/for/do).
Comment 1 John Arthorne CLA 2011-12-20 16:33:55 EST
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=a852f0d672819c21453c50d0445d2a81d31fef61

I have released an initial set of javascript templates for common control flow structures:
 - if
 - if/else
 - for iterate over array
 - for..in iterate over object properties
 - while loop
 - do/while loop
 - switch statement
 - try/catch and try/catch/finally

As part of this I refactored JavaScript and CSS content assist into separate files.