daytona ide

Choose the default IDE

daytona ide [flags]
          

Options

  -o, --output string   Output format. Must be one of (yaml, json) (default "yaml")
                --help            help for daytona
          

SEE ALSO

  • daytona - Daytona is a Dev Environment Manager

The daytona ide command helps you manage your default IDE for Daytona.

The following IDEs are supported by Daytona:

  • Visual Studio Code
  • JetBrains IDEs (IntelliJ IDEA, GoLand, PyCharm, PhpStorm, WebStorm, Rider, RubyMine, CLion)
  • Browser based IDE

To set your default IDE, run the following command:

daytona ide -i [IDE_NAME]
          

where [IDE_NAME] is one of the following:

  • vscode
  • goland
  • intellij
  • pycharm
  • phpstorm
  • webstorm
  • rider
  • rubymine
  • clion
  • browser

For example, to set Visual Studio Code as your default IDE, run:

daytona ide -i vscode
          

You can also view the available IDEs by running the daytona ide command without any arguments.

This information is used in the following commands:

The following code files contain information related to this topic:

Top-Level Directory Explanations

.devcontainer/ - Contains development container related configurations for Visual Studio Code.

cmd/ - Contains command-line interface tools and scripts.

internal/ - Private package directory for the project’s internal modules.

internal/cmd/ - Subdirectory for command-line tools.

internal/jetbrains/ - Subdirectory for JetBrains IDE integrations.

internal/util/ - Subdirectory for utility modules.

pkg/ - Go packages directory.

pkg/api/ - Subdirectory for API-related packages.

pkg/api/controllers/ - Subdirectory for API controller handlers.

pkg/apiclient/ - Subdirectory for API client package.

pkg/cmd/ - Subdirectory for command-line interface tools.

pkg/cmd/agent/ - Subdirectory for agent command-line tools.

pkg/cmd/gitprovider/ - Subdirectory for Git provider command-line tools.

pkg/cmd/ports/ - Subdirectory for port command-line tools.

pkg/cmd/workspace/ - Subdirectory for workspace command-line tools.

pkg/cmd/workspacemode/ - Subdirectory for workspace mode command-line tools.

pkg/common/ - Subdirectory for common packages and utilities.

pkg/db/ - Subdirectory for database-related packages and scripts.

pkg/db/dto/ - Subdirectory for database data transfer objects.

pkg/gitprovider/ - Subdirectory for Git provider package.

pkg/gitprovider/gitnessclient/ - Subdirectory for Git provider GitHub client.

pkg/ide/ - Subdirectory for IDE-related packages and scripts.

pkg/os/ - Subdirectory for operating system-related packages and scripts.

pkg/ports/ - Subdirectory for port-related packages and scripts.

pkg/server/ - Subdirectory for server-related packages and scripts.

pkg/server/gitproviders/ - Subdirectory for Git providers server-side.

pkg/server/workspaces/ - Subdirectory for workspaces server-side.

pkg/views/ - Subdirectory for view templates.

pkg/views/gitprovider/ - Subdirectory for Git provider view templates.

pkg/views/ide/ - Subdirectory for IDE view templates.

Entrypoints and Where to Start

cmd/daytona/main.go - This is the main entrypoint of the Daytona application. The ‘main’ function initializes the application and starts the server. The ‘init’ function is used for initialization tasks such as setting up logging and loading configuration files.