agda-mode-vscode icon indicating copy to clipboard operation
agda-mode-vscode copied to clipboard

Don't store the agda path in the config

Open ncfavier opened this issue 2 years ago • 1 comments

When switching between projects that use different versions of Agda, I have to clear the agda path and restart vscode every time, which is annoying.

If there is a use case for saving the path in the config, we could expose this as a setting. Or maybe only save when the path is not empty.

I couldn't build rescript on NixOS so I didn't regenerate the javascript.

ncfavier avatar Jul 12 '22 13:07 ncfavier

My current workaround for this is to set the Agda path to a shell script that just does exec agda "$@".

ncfavier avatar Jul 22 '22 11:07 ncfavier

Thanks!

banacorn avatar Aug 11 '22 08:08 banacorn

Don't forget to rebuild the JS!

ncfavier avatar Aug 11 '22 08:08 ncfavier