Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlighting issue related to annotations #76

Open
leeavital opened this issue Oct 29, 2014 · 0 comments
Open

Highlighting issue related to annotations #76

leeavital opened this issue Oct 29, 2014 · 0 comments

Comments

@leeavital
Copy link

In the following code, everything inside the respond function is highlighted as a string.

object Foo {
  @Get
  @Route(Array("/{:Version}/path_to"))
  def respond(r: Req) = {
    println("Hello world")
  }
}

However, if you remove the outer object, it highlights correctly.

@Get
  @Route(Array("/{:Version}/path_to"))
  def respond(r: Req) = {
    println("Hello world")
  }

This seems to happen with classes, objects, traits, outer functions -- basically any curly-brace block.

Screenshots:

screen shot 2014-10-29 at 10 31 58 am
screen shot 2014-10-29 at 10 32 12 am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant