From f7f5ddbc83e591f68d039fd1c7fd6a64585574ef Mon Sep 17 00:00:00 2001 From: Lutz Reinhardt Date: Fri, 13 Jun 2025 13:06:15 +0000 Subject: [PATCH 1/2] Add devcontainer This makes it way easier to compile, run and debug code without huge setup efforts. --- .devcontainer/devcontainer.json | 5 +++++ .gitignore | 5 +++++ README.md | 2 ++ 3 files changed, 12 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 000000000..3a0ec07d3 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,5 @@ +{ + "name": "eclipse-s-core", + "image": "ghcr.io/eclipse-score/devcontainer:latest", + "initializeCommand": "mkdir -p ${localEnv:HOME}/.cache/bazel" +} diff --git a/.gitignore b/.gitignore index 7c2913e82..6d4de87ad 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,8 @@ bazel-* MODULE.bazel.lock user.bazelrc + +# Compilation databases for code completion in IDEs +.cache/* +compile_commands.json +rust-project.json diff --git a/README.md b/README.md index 84e51b72c..57e30c6bf 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # communication Repository for the communication module LoLa + +For setting up the devcontainer and enabling code completion read [eclipse-score/devcontainer/README.md#inside-the-container](https://github.com/eclipse-score/devcontainer/blob/main/README.md#inside-the-container). From dfa5fcee264d9a9a6ecc791419ee501b5813dc4a Mon Sep 17 00:00:00 2001 From: lurtz <727209+lurtz@users.noreply.github.com> Date: Wed, 23 Jul 2025 10:36:13 +0200 Subject: [PATCH 2/2] Convert added README.md text to note Co-authored-by: Oliver Pajonk Signed-off-by: lurtz <727209+lurtz@users.noreply.github.com> --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 57e30c6bf..8fda19b2d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # communication Repository for the communication module LoLa -For setting up the devcontainer and enabling code completion read [eclipse-score/devcontainer/README.md#inside-the-container](https://github.com/eclipse-score/devcontainer/blob/main/README.md#inside-the-container). +> [!NOTE] +> This repository offers a [DevContainer](https://containers.dev/). +> For setting this up and enabling code completion read [eclipse-score/devcontainer/README.md#inside-the-container](https://github.com/eclipse-score/devcontainer/blob/main/README.md#inside-the-container).