Feature Request: Option to show only filename in ToDo list (versus full path) lazarus / 9-Editor ---------------------------------------------------------------------- Hansaplast 路 2026-04-28 14:17 Currently in the ToDo list in the "module" column, the full path is shown, which is useful at times, but sometimes it also makes it (for me anyway) harder to see where is what. So the friendly request is to be able to toggle between full path and only the filename. I've already applied this to my own copy of Lazarus with a checkbox and takes only very few minor changes (AFAIK). (translation may need updating as far as I can see) As far as I could find I need to update my Lazarus build to the latest version (which is always scary) and make a branch for myself (I'm lost there already) and make a patch. Could anyone assist in getting this, if others would like to see this option as well of course, submitted for an IDE change? And where do I submit this proposal (tried Bugtracker but couldn't find an option there). Please be gentle 馃槈 For who is interested, these are the changes I made to make it work. Only two files are affected todolist.pas and todolist.lfm. Basically added a panel with a checkbox, with an onChange event for the checkbox (which calls: UpdateTodos), and slightly modified the AddListItem procedure. todolist.pas: Code: Diff 聽[Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i 95a96> 聽 聽 cbFullPath: TCheckBox;97a99> 聽 聽 pnlFilePathOption: TPanel;132a135> 聽 procedure cbFullPathChange(Sender: TObject);559a563,567> end;> > procedure TIDETodoWindow.cbFullPathChange(Sender: TObject);> begin> 聽 UpdateTodos;596c604,609< 聽 聽 aListitem.SubItems.Add(aFilename);---> > 聽 if cbFullPath.Checked then> 聽 聽 聽 aListitem.SubItems.Add(aFilename)> 聽 聽 else> 聽 聽 聽 aListitem.SubItems.Add(ExtractFileName(aFilename));> todolist.lfm: Code: Diff 聽[Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i 2c2< 聽 Left = 379---> 聽 Left = 6234c4< 聽 Top = 239---> 聽 Top = 328133c133< 聽 聽 聽 Left = 305---> 聽 聽 聽 Left = 299140c140< 聽 聽 聽 Left = 399---> 聽 聽 聽 Left = 386147c147< 聽 聽 聽 Left = 456---> 聽 聽 聽 Left = 443152c152< 聽 聽 Left = 451---> 聽 聽 聽 Left = 438159c159< 聽 聽 聽 Left = 404---> 聽 聽 聽 Left = 391171c171< 聽 聽 聽 Left = 310---> 聽 聽 聽 Left = 304178c178< 聽 聽 Left = 503---> 聽 聽 聽 Left = 490193a194,219> 聽 聽 聽 end> 聽 聽 end> 聽 聽 object pnlFilePathOption: TPanel> 聽 聽 聽 AnchorSideLeft.Side = asrBottom> 聽 聽 聽 AnchorSideRight.Control = ToolBar> 聽 聽 聽 AnchorSideRight.Side = asrBottom> 聽 聽 聽 AnchorSideBottom.Side = asrBottom> 聽 聽 聽 Left = 715> 聽 聽 聽 Height = 46> 聽 聽 聽 Top = 2> 聽 聽 聽 Width = 161> 聽 聽 聽 BevelOuter = bvNone> 聽 聽 聽 ClientHeight = 46> 聽 聽 ClientWidth = 161> 聽 聽 聽 TabOrder = 1> 聽 聽 聽 object cbFullPath: TCheckBox> 聽 聽 聽 聽 AnchorSideTop.Control = pnlFilePathOption> 聽 聽 聽 聽 AnchorSideTop.Side = asrCenter> 聽 聽 聽 聽 AnchorSideRight.Side = asrBottom> 聽 聽 聽 聽 Left = 1> 聽 聽 聽 聽 Height = 18> 聽 聽 聽 聽 Top = 14> 聽 聽 聽 Width = 154> 聽 聽 聽 聽 Caption = 'Show Full Path of Files'> 聽 聽 聽 TabOrder = 0> 聽 聽 聽 聽 OnChange = cbFullPathChange ---------------------------------------------------------------------- Hansaplast 路 2026-04-28 14:24 Just to illustrate the differences: ---------------------------------------------------------------------- paweld 路 2026-04-29 09:42 I recommend reporting bugs and suggestions primarily via the bug tracker: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues ---------------------------------------------------------------------- dsiders 路 2026-04-29 14:49 Quote from: paweld on April 29, 2026, 11:42:04 amI recommend reporting bugs and suggestions primarily via the bug tracker: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues I got the impression he's soliciting feedback about the change. Personally, I'd never use it. But his moniker is Tweaking4All, so... ---------------------------------------------------------------------- Hansaplast 路 2026-04-29 16:46 Quote from: paweld on April 29, 2026, 11:42:04 amI recommend reporting bugs and suggestions primarily via the bug tracker: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues Thanks for the suggestion 馃槉 Wanted to try that, but it only offers "Task", "Incident" or "Issue" - feels inappropriate to post a feature request on any of these? Or should I use one og those 3? ---------------------------------------------------------------------- Hansaplast 路 2026-04-29 16:49 Quote from: dsiders on April 29, 2026, 04:49:35 pmI got the impression he's soliciting feedback about the change. Personally, I'd never use it. But his moniker is Tweaking4All, so... Would be nice to know if others care for this or not indeed. Personally, I like a cleaner look when looking at the files of my own project in the ToDo list, versus lengthy paths. So I did the effort to make the modification myself. 馃槉 ---------------------------------------------------------------------- paweld 路 2026-04-30 06:06 Quote from: HansaplastWanted to try that, but it only offers "Task", "Incident" or "Issue" - feels inappropriate to post a feature request on any of these? absolutely: https://gitlab.com/freepascal.org/lazarus/lazarus/- /work_items?sort=created_date&state=opened&search=%22Feature%20Request %22&first_page_size=100 ---------------------------------------------------------------------- Hansaplast 路 2026-04-30 08:59 Awesome! Thanks for confirming paweld! Posted it in Bugtracker: 42261