Lua Helpers (Voxrame component)
- 🇺🇸 English
- 🇷🇺 Русский
- 🇩🇪 Deutsch
- 🇧🇷 Brasileiro
- 🇨🇳 中文
- 🇪🇸 Español
- 🇫🇷 Français
- 🇮🇹 Italiano
- 🇵🇱 Polski
- 🇮🇩 Indonesia
- 🇹🇷 Türkçe
- 🇸🇦 العربية
- 🇻🇳 Tiếng Việt
Made with ❤️ for the Luanti community
© 2026 Lord Team
All contributions should be made to the main repository: https://github.com/Voxrame/Voxrame
Configure clickable file-links for you IDE
-
Ensure that your terminal supports ANSI OSC8 Codes.
-
Configure custom scheme for your OS, examples for Linux:
-
Enable links in
minetest.conf:- set config setting
debug = true - set config setting
debug.editor_x_scheme_tplfor your IDE, examples:debug.editor_x_scheme_tpl = clion://open?file=${file}&line=${line}debug.editor_x_scheme_tpl = vscode://file/${file}:${line}?project=${project}debug.editor_x_scheme_tpl = kate://open?file=${file}&line=${line}&project=${project}
Supported variables in scheme template:
${project}- full path to project${file}- full path to file${file_relative}- path to file from project root (from${project})${line}- line number in the file
- set config setting
- Create script
/usr/local/bin/phpstorm-url-handler:and make it executable:#!/usr/bin/env bash url="$1" file=$(echo "$url" | grep -oP 'file=\K[^&]+') line=$(echo "$url" | grep -oP 'line=\K[0-9]+') project=$(echo "$url" | grep -oP 'project=\K[^&]+') phpstorm --line "$line" "$file"
chmod +x /usr/local/bin/phpstorm-url-handler
- Create file
~/.local/share/applications/phpstorm-url-handler.desktop[Desktop Entry] Name=PhpStorm URL Handler Exec=phpstorm-url-handler %u #Icon=phpstorm Type=Application Categories=Development MimeType=x-scheme-handler/phpstorm
VsCode supports urls out of the box.
It usually places its .desktop-file in /usr/share/applications/code.desktop.
If your project(contains) relative path or ~/, VsCode considers this to be different path than the full path.
And VsCode opens the file you clicked as an external file and does not associate with the project.
In this case you can just change your scheme template in minetest.conf like this:
debug.editor_x_scheme_tpl = vscode://file/${file}:${line}?project=~/<path>/<to>/<project>
- Create script
/usr/local/bin/kate-url-handler:and make it executable:#!/usr/bin/env bash url="$1" file=$(echo "$url" | grep -oP 'file=\K[^&]+') line=$(echo "$url" | grep -oP 'line=\K[0-9]+') project=$(echo "$url" | grep -oP 'project=\K[^&]+') kate --line "$line" -s "$project" "$file"
chmod +x /usr/local/bin/kate-url-handler
- Create file
~/.local/share/applications/kate-url-handler.desktop[Desktop Entry] Name=Kate URL Handler Exec=kate-url-handler %u Icon=kate Type=Application Categories=Development MimeType=x-scheme-handler/kate - Register scheme
kate://xdg-mime default kate-url-handler.desktop x-scheme-handler/kate update-desktop-database ~/.local/share/applications - Test:
xdg-open 'kate://open?file=/path/to/project/file&line=42&project=' - Don't forget to configure your scheme template in
minetest.conf(see above).