On 2024/10/28 11:43 AM, Mike Smith via tde-devels wrote:
I apologize if this has already been addressed in the
mailing list or on the
wiki, but what are some best practices when doing TDE/TQt development? I'm
fairly new to programming, although I know enough to be dangerous with git
and have a general understanding of programming concepts such as data types,
OOP, etc. I haven't used C++ before but interested in learning.
What does your programming environment look like? Do you code in a VM or
container so that you don't mess with your main system's configuration?
What's your favorite editor or IDE? I'm curious what you're typical
workflow
looks like.
Hi Mike,
TDE dev here. I use Debian testing and TDE PTB as base but you can use any distro you are
familiar with, either in a VM
or on a real computer. It depends on your level of knowledge/confidence but go with a VM
if you don't want to risk
breaking things while you are learning.
As editor you can start with Kate, it's good enough at the beginning and that is how I
started with TDE programming back
in the days. But if you intend to become a serious dev long term, Kate will hold you back:
it's interface is way too
slow, same as many other editors that need a mouse to be used.
I use neovim from Konsole, a bunch of tools, a few plugins and a set of scripts/aliases.
It has its steep learning
curve, but once you learn to master it, you will be way way way way! more productive than
in Kate.
As for learning, the best way is to read code and practice as much as you can. Start
small, maybe some simple GUI
changes like adding a config option for something and related logic. Then build over time
and try to connect the dots
between the different part of the DE.
There are mailing list and IRC chat rooms if you want to reach out to the devs, so
don't be a stranger there :-)
TGW is the dev space, here is a brief user guide on how to use it:
https://wiki.trinitydesktop.org/TDE_Gitea_Workspace
Cheers
Michele