Repository navigation
v0.4.2
T-Code v0.4.2: A Fuller Markdown Preview, Images in Tabs and Fixes
t-code 0.4.2 makes the Markdown preview show what GitHub shows, opens images in a tab and other
files in their own apps, lets the Hierarchy panel follow the cursor, and fixes the freeze after a
right click from 0.4.0 and 0.4.1.
AI Usage Significantly Restricted
- In its current state, the project is quite functional. The extensive use of AI was intended to develop a smoothly operating tool as quickly as possible—a goal I believe has been achieved with this release.
- Moving forward, the project will no longer rely on "vibe coding". All code must be written manually, and any code generated by AI—if used at all—will be scrutinized line by line. Every single line of code written to date will undergo a thorough review; this process is expected to take at least five weeks, given that the repository contains over 40,000 lines of code.
- While one pull request largely created via "vibe coding" was accepted—due to it being a necessary contribution—no further pull requests containing AI-generated code will be merged. AI may still be used for tasks like generating templates or identifying bugs, but the actual code must be written by hand.
Markdown Preview (changed)
- TeX math:
$…$inline,$$…$$and```mathblocks on their own line. t-code lays the TeX
out itself (fractions, roots, sums and integrals with limits, matrices, cases, aligned), so no
TeX installation or browser engine is needed. Unknown commands show in red. - GitHub alerts: quotes starting with
[!NOTE],[!TIP],[!IMPORTANT],[!WARNING]or
[!CAUTION]get a colored bar and a title. - Everything else GitHub shows:
:emoji:shortcodes, every HTML entity, footnotes, raw HTML as
GitHub renders it (<kbd>,<mark>,<sub>/<sup>,<details>,<picture>per theme,
anchors,align), web images, SVG images, links on images, link titles as tooltips,/paths
from the git root, math and images in table cells. - Mermaid diagrams when
mmdcis installed. - Fix: no crash on an image or link with an empty target (
[](),![]()).
Images and Other Files (new)
- Images open in a tab that shows them: PNG, JPEG, GIF, WebP, BMP, ICO, TIFF, AVIF and JXL,
fitted to the tab; a click shows the image at its own size. A single click in the Files panel
opens a temporary tab, like editors. SVG still opens as text, and its preview draws it. - PDFs, office documents, EPUB, DjVu, archives, audio, video and fonts open in the desktop's
default app instead of as text. Nothing starts for a file that no longer exists.
Editor (new)
- Hierarchy follows the cursor: with Follow on (the default) and the Hierarchy panel shown,
a click on a function shows its callers or callees, noShift+Alt+Hneeded. A click on nothing
leaves the tree as it is. - Ctrl underlines what Ctrl+click goes to: while Ctrl is held, the name under the pointer is
underlined and the pointer becomes a hand. No request goes to the language server for it. - Autosave delay in Settings → Editor, in milliseconds (1 second by default, up to 5 minutes).
- Text scale in the status bar: when the text is not at 100%, the status bar shows its scale;
a click resets it (Ctrl+0).
Fixes
- No more freeze after a right click in Source Control (Changes, Staged, Commits), the Search
results or Run and Debug's Call Stack / Breakpoints: the known issue of 0.4.0 and 0.4.1. - Start-up with a huge log file: t-code started slowly, or not at all, with a log of hundreds
of MB; it now starts at once. - The Debian package is built with
_FORTIFY_SOURCE: the Makefile passesCPPFLAGSnow. - No
VTE-CRITICALwarning when the terminal changes folder; Ctrl+click onfile.c:12:5in
compiler output finds relative paths again. - No
GtkSourceView-CRITICALwarnings after completions: only completions with places to fill
in are inserted as snippets. - Snap: packages are staged from the updates and security pockets, so the bundled curl,
openssh, Python and certificates get their security updates.
Install
| Distribution / Format | Command |
|---|---|
| Fedora 43, 44, rawhide | sudo dnf copr enable suacayipkisi/t-code-ide && sudo dnf install t-code-ide |
| Ubuntu (PPA) | sudo add-apt-repository ppa:suacayipkisi/t-code-ide && sudo apt install t-code-ide |
| Snap Store | sudo snap install t-code-ide (optional: sudo snap alias t-code-ide t-code) |
| Fedora 44 (file) | sudo dnf install ./t-code-ide-0.4.2-1.fc44.x86_64.rpm |
| Arch Linux | sudo pacman -U t-code-ide-0.4.2-1-x86_64.pkg.tar.zst |
| Debian 13 | sudo apt install ./t-code-ide_0.4.2-1_amd64.deb |
| Void Linux | t-code-ide-0.4.2_1.x86_64.xbps (glibc) or t-code-ide-0.4.2_1.x86_64-musl.xbps (musl), with xbps-rindex -a and xbps-install |
| Flatpak | flatpak install --user ./t-code-0.4.2-x86_64.flatpak |
| Snap (file) | sudo snap install --dangerous ./t-code-ide_0.4.2_amd64.snap |
Check the downloads with sha256sum -c SHA256SUMS. Upgrading from 0.4.1 needs nothing special.
Known Issues
- On the first run the Files and shell panels are hidden: open them with the buttons at the
top right of the title bar.
What's Next (0.5)
- A test panel: list the tests, run one or all, see which passed (CTest, GoogleTest, pytest,
go test, cargo). - Terminals as tabs in the shell panel.
Full Changelog: v0.4.1...v0.4.2