atom-community / atom-community/language-scala

Scala Code Comment highlighting in green to end of document if Equals not followed by a Space

Open
#56 0 comments 4 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
51
Forks
25
PR merge metrics
No merged PRs in 30d

Description

I think this issue might be reported with different triggers.

I did not see this particular trigger so I've added a new request in the hopes that it help clarify the problem(s).

I suspect that when one falls the rest will follow :)

Then again I'm an optimist...

In a line of Scala with an equals sign the "green -- ergo this is a comment" colouring goes to the end of the document IF the equals does not have a space after it.

```
atom -v
Atom : 1.19.5
Electron: 1.6.9
Chrome : 56.0.2924.87
Node : 7.4.0

```
Sample one with space: GOOD

![GOOD](https://user-images.githubusercontent.com/2105782/30183637-2ea7350c-93e9-11e7-8cc7-67627903afe7.png)

Sample two without a space: BAD

![BAD](https://user-images.githubusercontent.com/2105782/30183640-328b027a-93e9-11e7-8821-b8eb9ec2be83.png)

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Reproduce the Scala syntax-highlighting case described in the issue, comparing an equals sign followed by a space with one that is not. Done means the comment coloring no longer extends to the end of the document in the reported case.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.