vscode-kotlin icon indicating copy to clipboard operation
vscode-kotlin copied to clipboard

File changes are out of sync with language server

Open tekumara opened this issue 2 years ago • 0 comments

Description

  1. Changes to files don't trigger a change from the language server until they are reopened.
  2. Once reopened, the language server uses the previous version of the file, not the latest.

Extension version

v0.2.24

Additional context

Screen capture from making changes to settings.kts in the tekumara/teamcity-kotlin-example repo:

  1. The change from script -> script1 is not picked up until settings.kts is reopened
  2. Once reopened, a new change from script1 -> script is made. Now the language server is showing the error as if the file still contained script.

Recording 2022-03-30 at 17 17 48

tekumara avatar Mar 30 '22 06:03 tekumara