Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>RunthOS projectNew to Visual Studio Code? Get it now.
RunthOS project

RunthOS project

PAXSwToolDev

|
96 installs
| (0) | Free
RunthOS Project
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VS Code Runthos extension(runthos-project)

  • This extension is for RunthOS app developers.
  • Output window color display copy the source code of the "Output Colorizer" extension.

Features

  1. This extension generates RunthOS application projects and library projects, and compiles projects. The user does not have to write a makefile.
  2. This extension supports multi-project management, as well as vscode's own workspace mode (which means you can open directories containing multiple projects, as well as.code-workspace project files). Projects or directories created in a template style are automatically recognized as projects and can be automatically added to a workspace file.
  3. Each time a build is started, the extension automatically expands all the source files in the project directory, ensuring that the code can compile completely without the user rewriting the Makefile.
  4. This extension relies on RunthOSStudio software, which must be installed for Windows users. For Linux users, decompress the decompressed package and add the decompressed directory (including RunthOSStudio) to the system environment variables. You are advised to add path PATH=$PATH:[[runthos_path]]/RunthOSStudio/lib to the /etc/profile system configuration file(environment variables).
    add env path(etc/profile)

Project template file and structure description

  1. The project contains initial directories such as .pax,.vscode, Default, Inc, Lib, Pkg, and Src. The build script(.sh) file in the .pax directory automatically compiles scripts for Linux,the .json file in the .vscode directory contains project configuration information. You are advised not to make any changes in these two directories.
  2. The default directory contains makefiles, and the generated target and intermediate files are automatically saved in the default directory (and subdirectory Src). The Pkg directory is used to save the target file after the Linux script is executed.
  3. You are advised to save header files (.h) in the inc directory, source files (.c) in the Src directory, and reference libraries in the lib directory. These directories are already referenced in the makefile.
    RunthOS project template

Installation method

  • This extension will be continuously updated in the market, please install directly in the extension market.

Usage

After installing the extension, the user will see the RunthOS icon on the far left (the activity bar). Clicking on this icon will bring up the RunthOS project Creation page. This page already provides buttons to create application projects and library projects. After you select the button, a dialog box is displayed, in which you need to enter the project name. After entering the project name, you can create a new template project. For directories without projects, the first generation of the template project will also generate a workspace file (project.code-workspace), which users can also open to manage projects.
Users can complete project compilation by right-clicking a project directory in Explorer. Right-click the project directory popup menu item "Build Current Project" to complete the project compilation, while "Clear Project" will clean up the generated intermediate files.
The generated intermediate files and target files are saved in the default directory. For Linux projects, you can run build.sh in the. Pax directory to complete project compilation. build RunthOS project

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft