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
Accept leading semi for line comment #10105
Comments
Imported From: https://issues.scala-lang.org/browse/SI-10105?orig=1 |
@milessabin said: |
@SethTisue said: |
@milessabin said: |
@som-snytt said: Also, Scala Center issued a Request for Comments. |
@lrytz said:
That would really help with the context switching on those days where you go back and forth between batch scripts and Scala. |
@SethTisue said: |
@som-snytt said: ;; looks like a walrus in certain fonts, I think
;; two eyes and cute little tusks
;; or possibly that weird spider with the beady eyes
def iam = "walrus" That works if Scala doesn't adopt forever syntax, I often accidentally insert |
@som-snytt said: |
@dwijnand said: |
@som-snytt said: |
This effort has been superseded by Commentless Scala, which removes support for all comments, in favor of the commentator interpolator. SIP # is TBD, but the feature is tentatively scheduled for 2.14. |
Weary of endless github wars over comment formatting? Wouldn't it be nice if Scala recovered the semicolon, which is on the brink of extinction, for line comments? Only if it is the leading non-whitespace.
The text was updated successfully, but these errors were encountered: