tangram-play icon indicating copy to clipboard operation
tangram-play copied to clipboard

single-line parameters with js function values get js comments when focus is in function

Open meetar opened this issue 8 years ago • 0 comments

To replicate:

  • Enter a parameter whose value is a function, all on a single line: priority: function() {return feature.scalerank}
  • place the cursor within the function
  • enter command-/

Result:

// priority: function() {return feature.scalerank}

Expected result:

# priority: function() {return feature.scalerank}

meetar avatar Aug 25 '16 15:08 meetar