Projects
Structure
Introduction
When you run the lean project-create
or lean cloud pull
commands, the CLI creates the basic files and folders most editors need to open your source code, provide autocomplete, and enable local debugging. This page documents exactly which files are created when you create a new local project with lean project-create
or lean cloud pull
.
Project Structure
New projects have the following structure:
. ├── .idea/ │ ├── misc.xml │ ├── modules.xml │ ├── <projectName>.iml │ └── workspace.xml ├── .vscode/ │ ├── launch.json │ └── settings.json ├── config.json ├── main.py (only generated by lean project-create) └── research.ipynb (only generated by lean project-create)
. ├── .vscode/ │ └── launch.json ├── config.json ├── <projectName>.csproj ├── Main.cs (only generated by lean project-create) └── Research.ipynb (only generated by lean project-create)
These files contain the following content:
File | Content |
---|---|
.idea / misc.xml, .idea / modules.xml, .idea / <projectName>.iml | These files contain PyCharm configuration so PyCharm can provide accurate autocomplete. |
.idea / workspace.xml | This file contains debug configuration to make debugging with PyCharm easier. |
.vscode / launch.json | This file contains debug configuration to make debugging with VS Code easier. |
.vscode / settings.json | This file contains VS Code configuration so that VS Code's Python and Pylance extensions can provide accurate autocomplete. |
config.json | This file contains the project configuration of the created project. |
main.py | This file contains a basic Python algorithm to help you get started. |
research.ipynbResearch.ipynb | This file contains a Python-based research notebook that can be opened in a Research Environment. |
File | Content |
---|---|
.vscode / launch.json | This file contains debug configuration to make debugging with VS Code easier. |
config.json | This file contains the project configuration of the created project. |
<projectName>.csproj | This file contains project configuration which Visual Studio, Rider, and VS Code can read to provide accurate C# autocomplete. |
Main.cs | This file contains a basic C# algorithm to help you get started. |
research.ipynb | This file contains a C#-based research notebook which can be opened in a research environment. |