Jaseci-Labs / jac-analyzer

The Jaclang Language Extension for VScode is an extension that provides basic Language Server Protocol (LSP) functionalities for the Jaclang programming language.
MIT License
0 stars 3 forks source link

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

Open musab-mah-7 opened 5 months ago

musab-mah-7 commented 5 months ago

🐞 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.

Is this a regression?

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