K3 studio WSk3studio
studio.kr3mu.dev Get started

Git

K3 Studio uses the git CLI (porcelain v2). Status and every git action run on worker threads, so the UI never waits on git.

Changes and commit

  • Changed and staged files with file icons and their side (client / server)
  • Side-by-side highlighted diff with a Stage button
  • Pictures (.dds too) show before and after. Maps, interiors and archetype files, texture dictionaries and models diff as a listing: one line per prop, parked car, archetype, room, texture or model part, so a moved prop is one changed line; a texture dictionary also shows its changed texture before and after. For the same in a terminal's git diff, add *.ymap *.ytyp *.ytd *.ydr *.yft *.ydd diff=k3asset to .gitattributes and run git config diff.k3asset.textconv "k3studio --listing"
  • Commit, or let Write have the agent write the message
  • Amend the last commit (if the message is empty, the old one is kept)
  • An Undo bar after commit, stage, unstage, discard (discarded changes are kept in a stash), revert and amend. Ctrl+Z works too, as long as the commit is still the tip.

History

  • History with avatars (GitHub by email, initials when offline), refs and age
  • A commit view with its files and diffs, Copy hash and Revert
  • Right-click a commit to revert or reset to it
  • The Git side panel has a Changes | History switch

Branches and stash

Under the Branches tab you can create and switch branches. Under Stash you can stash, apply, pop and drop.

Inline blame

When the caret rests on a line of a saved file that's tracked by git, K3 Studio shows who last changed it, when, and the commit message, at the end of the line.

Secret guard

Before a commit, K3 Studio checks for secrets: the FiveM license key, the Steam API key, the Tebex secret and the MySQL password. Move to secrets.cfg moves those lines into a file that server.cfg execs and that is listed in .gitignore.

Focus

With Focus on a resource, changes (and stage / unstage all) only include that resource.

k3studio › README.md Fun factIdles at about 0% CPU: it only draws when something changes Markdown qbx-lua-ls

Click or press Esc to close