Community
Participate
Working Groups
Build Identifier: 20110916-0149 When you go to edit your syntax colors (under Preferences>JavaScript>Editor>Syntax Coloring) you are presented with this preview JS: function foo() { /* This comment may span multiple lines. */ var var1 = new Object(); var obj = [ make: "Toyota", model: "Celica", year: 2000 ]; var s = "abc123"; clear(var1); } However, one of those lines is completely invalid: var obj = [ make: "Toyota", model: "Celica", year: 2000 ]; It should be: var obj = { make: "Toyota", model: "Celica", year: 2000 }; (well, really it should be "{make:" with no space, as no one I've ever seen puts a space there ... but that's beside the point). Anyhow, just thought you might want to fix that. Reproducible: Always Steps to Reproduce: 1. Navigate to Preferences>JavaScript>Editor>Syntax Coloring
Fixed by this in 3.5.1: http://git.eclipse.org/c/jsdt/webtools.jsdt.core.git/diff/bundles/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/ui/preferences/ColorSettingPreviewCode.txt?id=ec87a3b8e0a51fc2baec20756c00429d9e68a587