Idea

Idea és una IDE per Java i Kotlin.

Introducció

Idea és una IDE per Java i {% link “/kotlin/” %}.

Instal.la {% link “/tool/box/” %} tal com s’explica en el document:

Set-ExecutionPolicy Remote -Scope CurrentUser
Install-Module Box -scope CurrentUser -SkipPublisherCheck

Instal.la la IDE:

scoop bucket add extras
scoop install extras/idea-ultimate

Projecte

Obre un terminal de {% link “/windows/powershell” %}.

Crea un nou projecte amb {% link ”./gradle/” %}:

md whale
cd whale
gradle init --package whale --project-name whale --java-version 21 --type kotlin-application --dsl kotlin --test-framework kotlintest --no-split-project --no-incubating --overwrite
...

Obre el projecte amb l’editor:

idea.exe .

Tips

SDKs

A Software Development Kit, or an SDK, is a collection of tools that you need to develop an application for a specific software framework. For example, to develop applications in Java, you need a Java SDK (JDK). SDKs contain binaries, source code for the binaries, and documentation for the source code. JDK builds also contain annotations.

Generally, SDKs are global. It means that one SDK can be used in multiple projects and modules.

IDEA - SDKs

TODO