Some plugin code follows this pattern:
Save open documents. Get a file or directory path. Pass that path to something outside the IDE, such as a formatter, linter, compiler, VCS command, language server, or custom CLI tool.Historically, it was reasonable to assume that once the save finishes, the file on disk already contains the latest editor text.
...