Skip to content

VsCode Quick Start

If you are new to Slint and want to quickly get started and learning the basics we recommend using Visual Studio Code. VSCode is popular, free and thanks to our official Slint extension it is also the easiest to get started with.

Setting up VSCode

  1. Install VSCode. Download it here.

  2. Install the Slint extension. Find it here.

  3. Create a new project based on a Slint template. This is done via the command palette (Ctrl+Shift+P).

  4. Choose your language.

Slint project structure

  • Directory.vscode/
  • Directorysrc/
    • main.cpp
  • Directoryui/
    • app-window.slint The main Slint file
  • CMakeLists.txt
  • LICENSE
  • README.md

The src folder is for the apps business logic. While the ui folder contains the Slint files that define the user interface.