Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename "Install Elan" button #356

Merged
merged 1 commit into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ containing the following:
1. Open your file `hello.lean`.
1. If `Lean` is not yet installed on your system you will see a prompt like this:

![prompt](vscode-lean4/media/install-elan.png)
![prompt](vscode-lean4/media/install-lean.png)

1. Click the `Install Lean using Elan` option and enter any default options that appear in the terminal window.
1. Click the `Install Lean` option and enter any default options that appear in the terminal window.
1. After this succeeds the correct version of Lean will be installed by `elan`
and you should see something like this in the `Lean: Editor` output panel:
```
Expand Down
2 changes: 1 addition & 1 deletion docs/bootstrapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ yet and in that case `getLeanVersion` calls `testLeanVersion` on the

![prompt](images/InstallPrompt.png)

If the user clicks `Install Lean using Elan` then this will happen
If the user clicks `Install Lean` then this will happen
and elan will be installed in the default location and a stable build
of Lean will also be installed.

Expand Down
Binary file removed vscode-lean4/media/install-elan.png
Binary file not shown.
Binary file added vscode-lean4/media/install-lean.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion vscode-lean4/src/utils/leanInstaller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export class LeanInstaller {

// note; we keep the LeanClient alive so that it can be restarted if the
// user changes the Lean: Executable Path.
const installItem = 'Install Lean using Elan';
const installItem = 'Install Lean';
let prompt = 'Failed to start \'lean\' language server'
if (path){
prompt += ` from ${path}`
Expand Down
Loading