vscode starts the leiningen project

To start the Leiningen project in VS Code, you can follow these steps:

  1. Make sure Leiningen is installed. You can check if it has been successfully installed by typing in the terminal lein version.

  2. Install the Leiningen extension in VS Code. Open VS Code, click the extension icon on the left (an icon composed of four squares), search for "Leiningen" and click Install.

  3. Open your Leiningen project folder. In VS Code select "File" -> "Open Folder" and select the folder where your Leiningen project is located.

  4. Open a terminal. In VS Code select "View" -> "Terminal", which will open an integrated terminal window.

  5. Run the Leiningen command in a terminal. Depending on your project needs, run a Leiningen command similar to the following:

    • lein repl: Start a REPL (Read-Eval-Print Loop) environment for interacting with the project.
    • lein run: Run the main function of the project.
    • lein test: Run the project's test suite.
    • Other custom Leiningen commands.

Note that each Leiningen project may have different configurations and dependencies,

Guess you like

Origin blog.csdn.net/qq_59747594/article/details/132032054