Coder Social home page Coder Social logo

Comments (9)

Kha avatar Kha commented on July 22, 2024 1

If lean-toolchain could allow a relative path, that would also work for me.

Contributions welcome by the way :)

from vscode-lean4.

mhuisi avatar mhuisi commented on July 22, 2024

We want to remove this setting in the future. Is there another way that you can set up the project to use your modified version of Lean? (E.g. using Elan or your lean-toolchain file)

from vscode-lean4.

eric-wieser avatar eric-wieser commented on July 22, 2024

If lean-toolchain could allow a relative path, that would also work for me.

The current elan override mechanism doesn't work because it is overridden by the lean-toolchain of subdirectories, while the current elan toolchain link doesn't work because it is globally scoped, so it is not possible to have two checkouts of my workspace on the same computer and use them in parallel.

from vscode-lean4.

Kha avatar Kha commented on July 22, 2024

The current elan override mechanism doesn't work because it is overridden by the lean-toolchain of subdirectories

How many are there that you can't repeat this for each subdirectory?

from vscode-lean4.

mhuisi avatar mhuisi commented on July 22, 2024

I assume hosting the modified version of Lean in a public GitHub repository and referring to that in your lean-toolchain is not an option (e.g. because the project is private)?

To be clear, I consider this to be an Elan issue. lean4.toolchainPath should never be used for any serious project setups. It's a quick and dirty hack intended for debugging.

from vscode-lean4.

eric-wieser avatar eric-wieser commented on July 22, 2024

To be clear, I consider this to be an Elan issue.

That's fair. Is the intent for the extension to not know about toolchains at all in future, and just assume that lake or lean are on the path?

lean4.toolchainPath should never be used for any serious project setups. It's a quick and dirty hack intended for debugging.

Isn't it currently used by lean itself?

from vscode-lean4.

Kha avatar Kha commented on July 22, 2024

Isn't it currently used by lean itself?

No, we use toolchain link

from vscode-lean4.

eric-wieser avatar eric-wieser commented on July 22, 2024

Ah, so does that mean it's not currently possible to have two configured (ie both set up for modification of their own lean files) checkouts of different branches of the Lean4 repository on the same computer?

from vscode-lean4.

mhuisi avatar mhuisi commented on July 22, 2024

Is the intent for the extension to not know about toolchains at all in future

We certainly want to move more in this direction, but there's still a couple of features that will need to rely on the toolchain version, unfortunately.

from vscode-lean4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.