Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

[Bug] Jac files fetching information from other Jac files affecting Hover information and Semantic highlighting #30

Open
musab-mah-7 opened this issue Feb 26, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@musab-mah-7
Copy link
Collaborator

musab-mah-7 commented Feb 26, 2024

🐞 Bug Report

Describe the bug

We have identified a bug in our system where Jac files are fetching information from other Jac files, causing discrepancies in Hover information and Semantic highlighting functionalities.

  • Hover Information: When users hover over elements in the code, they expect to see relevant information regarding that element. However, due to the bug, the information displayed may be incorrect or inconsistent as it is being fetched from unrelated Jac files.

  • Semantic Highlighting: Semantic highlighting aids in code readability by visually distinguishing different elements based on their semantics. With the current bug, semantic highlighting may not accurately reflect the semantics of the code due to the erroneous information fetched from other Jac files.

Is this a regression?

  • Reduced developer productivity: Inaccurate hover information and semantic highlighting can lead to confusion and slow down development as developers spend extra time verifying information manually.
  • Code readability issues: Semantic highlighting plays a crucial role in quickly understanding the structure of the code. Inaccuracies can impede code comprehension and maintainability.

To Reproduce

  1. Open a project containing multiple Jac files.
  2. Hover over different elements in the code.
  3. Observe the displayed information and its relevance to the hovered element.
  4. Check the semantic highlighting and compare it with the actual semantics of the code.

Expected behaviour

Hover information should be accurate and relevant to the hovered element, sourced from the respective Jac file.
Semantic highlighting should accurately reflect the semantics of the code within the same Jac file without influence from other files.

Media prove

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant