Skip to content

Floats with dots and exponents #125

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

Closed
MaximeKjaer opened this issue Jul 8, 2020 · 0 comments · Fixed by #126
Closed

Floats with dots and exponents #125

MaximeKjaer opened this issue Jul 8, 2020 · 0 comments · Fixed by #126
Assignees
Labels
bug Something isn't working

Comments

@MaximeKjaer
Copy link
Contributor

The dot should be highlighted as part of the literal:

    .1e12 .1e+34 .1e-56 .1e12f .1e+34f .1e-56f .1e12d .1e+34d .1e-56d
//  ^^^^^ constant.numeric.scala
//        ^^^^^^ constant.numeric.scala
//               ^^^^^^ constant.numeric.scala
//                      ^^^^^^ constant.numeric.scala
//                             ^^^^^^^ constant.numeric.scala
//                                     ^^^^^^^ constant.numeric.scala
//                                             ^^^^^^ constant.numeric.scala
//                                                    ^^^^^^^ constant.numeric.scala
//                                                            ^^^^^^^ constant.numeric.scala
@MaximeKjaer MaximeKjaer added the bug Something isn't working label Jul 8, 2020
@MaximeKjaer MaximeKjaer self-assigned this Jul 8, 2020
MaximeKjaer added a commit to MaximeKjaer/vscode-scala-syntax that referenced this issue Jul 8, 2020
MaximeKjaer added a commit to MaximeKjaer/vscode-scala-syntax that referenced this issue Jul 8, 2020
nicolasstucki added a commit that referenced this issue Jul 8, 2020
Fix #125: Highlight literals with dots and exponents
PanAeon pushed a commit to PanAeon/vscode-scala-syntax that referenced this issue Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant