This topic is nice, but instead of placing special tag comments everywhere, I look for a solution about jQuery code, more specifically the $
character. Eclipse formatter does not seem to recognize
$.ajax({
and transforms it like this:
$
.ajax({
Any clues other than changing all $
to jQuery
?
edit: I cannot find a minimal example... it seems to happen only on very big functions, with some big comments
Top of one of these big functions
function loadDataArt(id) {
$.each(id, function(index) {
$.ajax({
Is transformed into:
function loadDataArt(id) {
$
.each(
id,
function(index) {
$
.ajax({
Tabulations? I'll try to find out more info -_-
edit2: disabling line wrap was the solution.