Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

KDevelop

KDevelop は、すべてのデスクトッププラットフォーム向けの無料のオープンソースIDEです。

プロジェクトのインポート

  • From the KDevelop's main screen select Open Project.

../../../_images/kdevelop_newproject.webp

KDevelop's main screen.

  • Navigate to the Godot root folder and select it.

  • On the next screen, choose Custom Build System for the Project Manager.

../../../_images/kdevelop_custombuild.webp
  • After the project has been imported, open the project configuration by right-clicking on it in the Projects panel and selecting Open Configuration.. option.

../../../_images/kdevelop_openconfig.webp
  • Under Language Support open the Includes/Imports tab and add the following paths:

    .  // A dot, to indicate the root of the Godot project
    core/
    core/os/
    core/math/
    drivers/
    platform/<your_platform>/  // Replace <your_platform> with a folder
                                  corresponding to your current platform
    
../../../_images/kdevelop_addincludes.webp
  • 変更(Apply)を適用します。

  • Under Custom Build System add a new build configuration with the following settings:

    Build Directory

    blank

    有効

    True

    実行可能ファイル

    scons

    引数

    See ビルドシステムの説明 for a full list of arguments.

../../../_images/kdevelop_buildconfig.webp
  • Apply the changes and close the configuration window.

Debugging the project

  • Select Run > Configure Launches... from the top menu.

../../../_images/kdevelop_configlaunches.webp
  • Click Add to create a new launch configuration.

  • Select Executable option and specify the path to your executable located in the <Godot root directory>/bin folder. The name depends on your build configuration, e.g. godot.linuxbsd.editor.dev.x86_64 for 64-bit LinuxBSD platform with platform=linuxbsd, target=editor, and dev_build=yes.

../../../_images/kdevelop_configlaunches2.webp

If you run into any issues, ask for help in one of Godot's community channels.