Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Syntax highlighting breaks in docblock comment with multiline phpdoc tag argument's value #312

Open
1 task done
lephuongbg opened this issue Feb 23, 2018 · 1 comment
Labels

Comments

@lephuongbg
Copy link

Prerequisites

Description

nh ch p man hinh 2018-02-23 luc 9 16 04 sa

Expected behavior: Syntax highlighting should work normally.

Actual behavior: Error's red color is all over.

Reproduces how often: 100%

Versions

Atom : 1.25.0-beta2
Electron: 1.7.11
Chrome : 58.0.3029.110
Node : 7.9.0

@lephuongbg lephuongbg changed the title Syntax highlighting break in docblock comment with multiline phpdoc tag argument's value Syntax highlighting breaks in docblock comment with multiline phpdoc tag argument's value Feb 23, 2018
@50Wliu 50Wliu added the bug label Mar 5, 2018
@mattacosta
Copy link

mattacosta commented Mar 20, 2018

On the one hand, the proposed phpdoc spec clearly states:

In case a DocComment spans multiple lines then every line MUST start with an asterisk (*) that SHOULD be aligned with the first asterisk of the opening clause.

On the other hand, it's just a proposal, and some annotation parsers well... suck.

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

No branches or pull requests

3 participants