sublimelsp / LSP-intelephense

PHP support for Sublime's LSP plugin provided through intelephense.
MIT License
96 stars 3 forks source link

Marking files with errors as red in the files tree? #97

Closed sjns19 closed 3 months ago

sjns19 commented 8 months ago

I'm not sure if this feature already exists and can be enabled through configuration but it would be nice if the file having errors would be marked red in the files tree, something like what VS Code does so it would be easy to track the file without having to go through each file to see where the problem lies.

From VS Code

Screenshot 2024-02-19 at 12 20 46 PM

Sublime

Screenshot 2024-02-19 at 12 16 47 PM
jfcherng commented 8 months ago

I'm not sure if this feature already exists and can be enabled through configuration but it would be nice if the file having errors would be marked red in the files tree

I don't think ST has such API. There is no API related to sidebar, just literally none.


so it would be easy to track the file without having to go through each file to see where the problem lies.

If the server auto diagnoses the whole project, then the LSP diagnose panel should achieve your request. If only opened files are diagnosed, then nothing we can do here.

willrowe commented 3 months ago

Closing this since if this is ever implemented, it would most likely be implemented in the main LSP package and not this one.