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

#41 fix doc not updating on change #42

Closed musab-mah-7 closed 6 months ago

musab-mah-7 commented 6 months ago

Fix server doc not updating on change

Description

The pygls doc tree was not updating during on change, this cause the tokens to be always from the last saved file content


Additional context

Following 2 changes were done

  1. update doc if there is no errors on change by rebuilding the doc tree
  2. during on change use raw content instead of reading content from file *
chandralegend commented 6 months ago

@musab-mah-7 Add a description to the PR

github-actions[bot] commented 6 months ago

:tada: This PR is included in version 1.2.3 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: