Skip to content

Conversation

@nikswamy
Copy link
Collaborator

Previously, if one created a new file and starting typing F* code in it, then one would have to restart the ide before trying to check any code, because the dependence scan would run on the initial state of the buffer (which would be empty).

Now, I update the "virtual file system" (vfs) entry for the file at each call to run_full_buffer in the IDE. This then makes the initial dependence scan run on the current version of the file rather than the initial version, avoiding the restart.

This actually also means that one can launch the ide without actually having any file on the disk, as shown by the new test case.

Note: this still doesn't solve the more general problem of adding dependences on the fly.

@gebner
Copy link
Contributor

gebner commented Nov 25, 2025

See also #3941, which fixed a part of this issue.

@nikswamy nikswamy enabled auto-merge November 25, 2025 18:52
@nikswamy nikswamy merged commit 373c46b into master Nov 25, 2025
15 checks passed
@nikswamy nikswamy deleted the _nik_ide_deps branch November 25, 2025 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants