sublime-better-coffeescript icon indicating copy to clipboard operation
sublime-better-coffeescript copied to clipboard

Syntax highlighting of split-line parameters...

Open Siyfion opened this issue 11 years ago • 1 comments

For example:

angular.module('LabelLogicLiveClientApp')
  .controller 'UserCtrl',
  ($scope, $log, $http, $location,
  configOptions, authenticationService, roles, user) ->

    $scope.authService = authenticationService
    $scope.currentUser = $scope.authService.getUser()

As you can see, GitHub correctly highlights both lines of parameters, even if there is a line break splitting them up. However better coffeescript does not, it removes all syntax highlighting all together if there is a line break:

screen shot 2014-07-03 at 09 14 24

Siyfion avatar Jul 03 '14 08:07 Siyfion

Not only that, in the case that a function or constructor has parameters over 2 or more lines, it gets removed from the symbol navigation as well (ctrl+r)

ghost avatar Nov 16 '14 23:11 ghost