JavaScript code formatter problem

Bug Reports and Fixes
Post Reply
tonyx
Posts: 2
Joined: Sat Aug 13, 2011 11:27 pm

JavaScript code formatter problem

Post by tonyx » Sun Aug 14, 2011 6:33 pm

I have a very simple piece of javaScript code.

Code: Select all

$(document).ready(function() {
	var a = $("p");

});
When I press Ctrl+Shift+F to format the code, I end up getting

Code: Select all

$(document).ready(function() {
			var a = $("p");

		});

FYI my Spket is installed as an Eclipse 3.7 plugin.

When I try the above code in native Eclipse JavaScript editor it works correctly.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests