Hello World en Erlang avec IntelliJ ou Visual Studio Code
mar, 11/02/2025 - 08:17
Post original de Michal Piotrowski
Erlang n'est pas un langage populaire ni très utilisé hormis dans certains sections critiques. Si vous êtes curieux/euse, il est possible de coder en Erlang directement avec son IntelliJ.
1 ouvrir son IntelliJ
2 installation Erlang
3 installation du plugin Erlang dans l'IDE
4 redémarrer l'IDE pour prendre en compte le plugin
Pour créer un projet Erlang, il suffit de créer un fichier .erl, dans notre exemple : hello.erl
Le code du hello world est le suivant :
-module(hello).-author("michal.piotrowski").%% API-export([hello_world/0]).hello_world() -> io:fwrite("hello, world\n").

