Skip to content

Latest commit

 

History

History
121 lines (85 loc) · 3.51 KB

README.en.md

File metadata and controls

121 lines (85 loc) · 3.51 KB
License Bilibili YouTube
中文 - English - Other
A Developer's Toolkit for Programming Learning, Development and Tutorial Creation 🛠️
⌈Software Installation, One-Click Environment Setup, Project Dependency Management⌋
⌈Real-time Compilation & Execution, AI Code Suggestions, Tutorial & Course Project Creation, Demo Examples Collection⌋

Recent Updates

  • add xdeps config for project-deps-management
  • add info features and rust support
  • Added Dev-C++ installation support - Details
  • Cross-drive run command (Windows) usage - Details
  • More updates and discussions -> More

Quick Installation

Execute the one-click installation command in terminal

Linux

curl -fsSL https://d2learn.org/xlings-install.sh | bash

or

wget https://d2learn.org/xlings-install.sh -O - | bash

Windows - PowerShell

Invoke-Expression (Invoke-Webrequest 'https://d2learn.org/xlings-install.ps1.txt' -UseBasicParsing).Content

Note: More installation methods -> xlings installation

Usage Introduction

Run Code

xlings automatically matches programming language and checks code changes in real-time

xlings run your_code.py
xlings run your_code.c
xlings run your_code.cpp

Environment Setup and Software Installation

Environment Setup

One-click C language environment setup

xlings install c

Software Installation

One-click VSCode installation

xlings install vscode

Project Dependency Management

Run the install command in the configuration file directory to install project dependencies (config.xlings configuration file is typically placed in the project root directory)

config.xlings Configuration File Example

xname = "ProjectName"
xdeps = {
    cpp = "",
    python = "3.12",
    vs = "2022",
    -- postprocess cmds
    xppcmds = {
        "echo hello xlings",
    }
}

one-click project dependencies installation

xlings install

Build Interactive Tutorials or Course Labs

Related Links

  • Homepage: Tool updates and core feature showcase
  • Forum: Issue feedback, project development, idea exchange
  • xmake: Provides basic environment for xlings