apache / apache/netbeans

[PHP] Make font color of attributes customizable

Open
#4,893 0 comments 0 reactions 0 assignees View on GitHub
kind:feature PHP
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Description

Netbeans supports the definition of native PHP attributes in the form of

```php
#[ORM\Entity(repositoryClass: AssociationRepository::class)]
class Association
{ }
```
Currently the brackets and the class name ("#[Attribute" and the "]") are always in black font color. I'd like to customize the color so that it is lighter.

Would be nice if this could be added.

### Use case/motivation

IMHO another color than black would improve the readability.

### Related issues

_No response_

### Are you willing to submit a pull request?

No

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

Start by searching the NetBeans PHP editor for native-attribute syntax highlighting and its color settings. Verify how the example's brackets and class name are colored; done means those elements can be assigned a color independently and the setting changes their rendering.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
developer-experience
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.