leanprover / vscode-lean

Extension for VS Code that provides support for the older Lean 3 language. Succeeded by vscode-lean4 ('lean4' in the extensions menu) for the Lean 4 language.
Apache License 2.0
116 stars 49 forks source link

Fix 'try this' in untitled windows #303

Closed eric-wieser closed 2 years ago

eric-wieser commented 2 years ago

This logic isn't perfect as there might be a file on the system called Untitled 1, but it's what we use throughout the rest of the extension anyway.