Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to have Error Lens (inline errors in editor) #4494

Closed
1 task done
nikitavoloboev opened this issue Sep 11, 2023 · 8 comments
Closed
1 task done

How to have Error Lens (inline errors in editor) #4494

nikitavoloboev opened this issue Sep 11, 2023 · 8 comments
Labels
diagnostics Feedback for diagnostics, error messages, logs, etc editor Feedback for code editing, formatting, editor iterations, etc enhancement [core label] potential extension Functionality that could be implemented as an extension (consider moving to community extensions)

Comments

@nikitavoloboev
Copy link

nikitavoloboev commented Sep 11, 2023

Check for existing issues

  • Completed

Describe the feature

I need this plugin in Zed https://marketplace.visualstudio.com/items?itemName=usernamehw.errorlens

VSCode:

image

Zed:

image

Can I achieve this?

@nikitavoloboev nikitavoloboev added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Sep 11, 2023
@JosephTLyons JosephTLyons added editor Feedback for code editing, formatting, editor iterations, etc potential extension Functionality that could be implemented as an extension (consider moving to community extensions) diagnostics Feedback for diagnostics, error messages, logs, etc and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Sep 11, 2023
@JosephTLyons
Copy link
Collaborator

We don't have a plugin systme at the moment and we currently don't automatically write the error out to the editor. Curently In Zed, we have 3 ways of seeing the errors:

  1. Hovering
  2. Inline errors that you cycle through with f8 / shift-f8 (different from error lens because they aren't automaticaly shown)
  3. Project Diagnostics

I wonder if we could add a setting to option 2 that always automatically shows the errors as soon as they are discovered, and removes them once they are resolved.

@nikitavoloboev
Copy link
Author

nikitavoloboev commented Sep 11, 2023

Inline errors that you cycle through with f8 / shift-f8

Just tried pressing f8 and shift-f8 and it did nothing for me.

I expected it to jump between errors here:

image

@JosephTLyons
Copy link
Collaborator

JosephTLyons commented Sep 13, 2023

@caner-cetin
Copy link

Bumpity bimpity, I still see hope in this. Will this feature be implemented anytime in the future?

@JosephTLyons JosephTLyons transferred this issue from zed-industries/community Jan 24, 2024
@Moshyfawn
Copy link
Member

Can this be considered a duplicate of #4901 as it has more upvotes?

@JosephTLyons
Copy link
Collaborator

Can this be considered a duplicate of #4901 as it has more upvotes?

I think so. Let's close this one out. If there's something about this issue that is different @nikitavoloboev, let us know and we can reopen it, or extra details can be added to #4901.

@VladPetriv
Copy link

Hey, @nikitavoloboev
What extension do you use for git?

Screenshot 2024-04-08 at 20 12 57

@nikitavoloboev
Copy link
Author

No extension. Was like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
diagnostics Feedback for diagnostics, error messages, logs, etc editor Feedback for code editing, formatting, editor iterations, etc enhancement [core label] potential extension Functionality that could be implemented as an extension (consider moving to community extensions)
Projects
None yet
Development

No branches or pull requests

5 participants