Skip to content

Experimental Linux IDE support#2355

Open
zerkawei wants to merge 59 commits intobeefytech:masterfrom
zerkawei:linux-ide
Open

Experimental Linux IDE support#2355
zerkawei wants to merge 59 commits intobeefytech:masterfrom
zerkawei:linux-ide

Conversation

@zerkawei
Copy link
Contributor

@zerkawei zerkawei commented Nov 14, 2025

This PR updates the BeefySysLib SDL implementation and provides experimental linux support to the IDE. While it is not currently in a state ready for general use, it is somewhat functional.
I'm making this PR to open comments on the Linux IDE implementation, for people who want to test this and find issues/bugs in order to get this in a more ready state before (hopefully) merging.

Additional Required Packages

Debian/Ubuntu : libsdl3-dev, lidsystemd-dev, xdg-desktop-portal-*
Arch : sdl3, systemd, xdg-desktop-portal-*
Fedora : SDL3-devel, systemd-devel, xdg-desktop-portal-*

Testing

In order to run the Linux IDE you need either the Noto font package installed or manually put the NotoSans-Regular.ttf and NotoSans-Bold.ttf fonts from NotoFonts in the IDE/dist/fonts/ folder.

To build the Linux IDE you need to run bin/build.sh sdl.

Known Issues

I'll try to keep this up to date

  • Rendering bug with the Autocomplete window when resizing itself
  • Context menus being placed incorrectly sometimes
  • Fixit not working currently
  • Keyboard shortcuts broken on other keyboard layouts
  • Autocomplete closing itself sometimes
  • Crashes when renaming a project
  • Random crashes (Maybe linked with popup?) (Couldn't reproduce)
  • Recovery related crash (Couldn't reproduce)

@bfiete
Copy link
Collaborator

bfiete commented Nov 14, 2025

Looks pretty clean!

Obviously for a "final implementation" you'd want to merge together the IDE.CreateMenu functionality with the MenuBar, but I understand keeping them separate for the moment to isolate the impact of the changes...

I don't have deeper feedback at the moment but I just wanted to acknoweldge the good work so far!

@zerkawei
Copy link
Contributor Author

I have been using the IDE for a while without running into major issues now. I'm marking this PR as ready for review for a possible merge as experimental support.

@zerkawei zerkawei marked this pull request as ready for review February 15, 2026 20:18
@bfiete
Copy link
Collaborator

bfiete commented Feb 17, 2026

Another thought - I don't want to break users who are only interested in the CLI interface. Either the IDE needs to be another build step, or the build script needs to gracefully fail to build on systems that do not have the new required additional packages to be installed

@zerkawei
Copy link
Contributor Author

zerkawei commented Feb 17, 2026

Since the IDE is only built when using the sdl flag, the additional packages are not needed for CLI only users who can still use the bin/build.sh script without sdl.

  • SDL and systemd are required when building and running the IDE
  • xdg-desktop-portal is only required for running the IDE

(Though the dependency on systemd and xdg-desktop-portal already exists when building/running a Beef program on linux that uses FileDialog)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants