Skip to content

Add class properties to symbols outline#103

Open
Klaas058 wants to merge 1 commit intozed-extensions:mainfrom
Klaas058:main
Open

Add class properties to symbols outline#103
Klaas058 wants to merge 1 commit intozed-extensions:mainfrom
Klaas058:main

Conversation

@Klaas058
Copy link

@Klaas058 Klaas058 commented Feb 6, 2026

Currently class properties are not outlined and therefore not showing up in the symbol search in Zed

Test case:

<?php

class TestCase
{
    public $noType;
    protected string $withType = "default";
    private static array $static = [];
    protected readonly bool $readOnly;

    public function __construct(public bool $promotedProperty) {}
}

Before this change:
image

After this change:
image

Ideally promoted class properties would also work, but this is a start.

@cla-bot
Copy link

cla-bot bot commented Feb 6, 2026

We require contributors to sign our Contributor License Agreement, and we don't have @Klaas058 on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@Klaas058
Copy link
Author

Klaas058 commented Feb 6, 2026

@cla-bot check

@cla-bot
Copy link

cla-bot bot commented Feb 6, 2026

We require contributors to sign our Contributor License Agreement, and we don't have @Klaas058 on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@cla-bot
Copy link

cla-bot bot commented Feb 6, 2026

The cla-bot has been summoned, and re-checked this pull request!

@Klaas058
Copy link
Author

Klaas058 commented Feb 6, 2026

@cla-bot check

@cla-bot cla-bot bot added the cla-signed label Feb 6, 2026
@cla-bot
Copy link

cla-bot bot commented Feb 6, 2026

The cla-bot has been summoned, and re-checked this pull request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant