Skip to content

Add C template with GCC and Make support#101

Open
shaiksahilrizwan wants to merge 16 commits intofirebase-studio:mainfrom
shaiksahilrizwan:c-template
Open

Add C template with GCC and Make support#101
shaiksahilrizwan wants to merge 16 commits intofirebase-studio:mainfrom
shaiksahilrizwan:c-template

Conversation

@shaiksahilrizwan
Copy link

This PR adds a new community template for the C programming language.

Features

  • Compiler: GCC configured and ready to use.
  • Build System: Includes make support.
  • Debugging: gdb installed.
  • Editor Integration: Pre-installs the ms-vscode.cpptools and danielpinto8zz6.c-cpp-compile-run extension for syntax highlighting, debugging and running.

Optional

  • Auto-build: Configured to compile and run the application automatically using buildAndRun.
    -- Build Tools: make and gdb installed for future extensibility.

Files Added

  • dev.nix: Defines the Nix environment with gcc, gnumake, gdb.
  • idx-template.nix: Bootstrap script to set up the workspace.
  • idx-template.json: Template metadata.
  • Starter code (main.c).

This allows users to quickly spin up a C development environment in Project IDX.

Open in IDX

@shaiksahilrizwan shaiksahilrizwan marked this pull request as draft December 14, 2025 07:47
@shaiksahilrizwan shaiksahilrizwan marked this pull request as ready for review December 14, 2025 07:58
@shaiksahilrizwan
Copy link
Author

Hi everyone, I've enabled the "Allow edits from maintainers" option. So please feel free to make any necessary changes directly. I'm happy to learn from your feedback!

@shaiksahilrizwan shaiksahilrizwan marked this pull request as draft December 14, 2025 08:49
@shaiksahilrizwan shaiksahilrizwan marked this pull request as ready for review December 14, 2025 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant