scala / vscode-scala-syntax

Visual Studio Code extension for syntax highlighting Scala sources
https://marketplace.visualstudio.com/items?itemName=scala-lang.scala
MIT License
76 stars 35 forks source link

bugfix: Adjust export syntax to newest #247

Closed tgodzik closed 1 year ago

tgodzik commented 1 year ago

Fixes https://github.com/scala/vscode-scala-syntax/issues/246#issuecomment-1342409248

I copied over what imports do to exports, since they are now identical based on the syntax summary:

Import            ::=  ‘import’ ImportExpr {‘,’ ImportExpr}
Export            ::=  ‘export’ ImportExpr {‘,’ ImportExpr}

I could possibly merge them both but we lose the export scope then (not sure if it's useful since this most likely requires a theme to take that into account)