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

Some PHPUnit tags (eg @depends) are not syntax-highlighted in docblocks #393

Open
sfsccn opened this issue May 15, 2020 · 0 comments
Open

Comments

@sfsccn
Copy link

sfsccn commented May 15, 2020

Summary

Some PHPUnit tags such as @depends, @dataProvider and @test are not syntax-highlighted in docblocks. I tried several others listed at 2. Annotations — PHPUnit 9.1 Manual. The only one that worked was @uses.

Environment/Versions

I'm running VS Code on Windows and using a remote Linux machine. I checked both the Insiders 1.46.0 with just the remote extensions installed and 1.45.1 with the following extensions:

  • PHP Intelephense
  • PHP Debug
  • PHP DocBlocker
  • PHPUnit Test Explorer

Motivation

Syntax highlighting is helpful.

Describe alternatives you've considered

I searched for extensions that added this feature but didn't find any. I looked into adding keywords but it seems complicated. Suggestions welcome!

Additional context

Here's 1.45.1 with the above extensions:

image

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

No branches or pull requests

1 participant