After many years, I've tried to give Isabelle/VSCode another shot with Isabelle2025-RC0.
I mainly want to give a quick user report (mostly of things I found cubersome or missing).
But I was hoping that some of these things are known issues, for which people already have workarounds.
First, it's great to have the improved state panel, which brings Isabelle/VSCode much closer to productive usage for me. Completions are also a great improvement.
Second, I was wondering how people work without the theories panel?
I can see that I find errors in the Problems view, which is good, but not knowing how far my theories have been checked and whether there is a non-terminating proof somewhere bothers me quite a bit.
Issues
State Panel
Editor
command
strangely@{thm}
do not work properly: they will complete to something like @{thm}}
because VSCode prematurely adds the second curly bracebut not knowing how far my theories have been checked
do you have the red markings in the minimap? i think they show where errors are.
Another vscode extension i found extremely useful is "Error Lens" from "usernamehw". It inlines the error messages in red font.
I also use the extension "Hypersnips" which lets you define snippets that auto-insert e.g. ∨ on typing "\or" or a pair of ‹› when typing "cite".
I find the state panel opens more reliably if i put the cursor at a point where there is a nontrivial proof state
i have also put
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"source.isabelle"
],
"settings": {
"foreground": "#53a5a8f8"
}
},
{
"name": "String",
"scope": "string",
"settings": {
"foreground": "#c2aa22"
}
},
{
"name": "Class name",
"scope": "entity.name.type, entity.name.class, entity.name.namespace, entity.name.scope-resolution",
"settings": {
"fontStyle": "underline"
}
}
]
},
into my settings.json (while using the color theme Default Light+)
(one can search in the settings menu for Editor: Token Color Customizations
and click Edit in settings.json to find this file). This changes the color and style of some of the keywords. I honestly don't remember to what these correspond, but i believe these might be worth tinkering with. In particular this defines a different color for theorem names and yet unparsed contents of a thy file.
The underlining thingy is for isar keywords like "obtain"
Maybe other vscode users can share their settings/extensions etc. for making the vscode experience better aswell?
Last updated: Feb 28 2025 at 08:24 UTC