Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Help / Re: bug
« Last post by Miguel Gimenez on Today at 10:05:05 am »
Trash reported to moderator.
2
Help / bug
« Last post by maiorescuN1gger on Today at 09:37:50 am »
why does the forum not work if ur black
heil hitler nigger
3
I am new, I am here
4
Plugins development / Re: Code format support in clangd_client plugin
« Last post by christo on Yesterday at 06:13:26 pm »
Thank you Pecan.

In the change applied in svn, menu item is added after astyle menu item. But if I disable astyle plugin, this leads to context menu not working.

Edit:
Following change fixes the issue.
Code
diff --git a/src/plugins/contrib/clangd_client/src/codecompletion/codecompletion.cpp b/src/plugins/contrib/clangd_client/src/codecompletion/codecompletion.cpp
index 0964bbd37..e122e4823 100644
--- a/src/plugins/contrib/clangd_client/src/codecompletion/codecompletion.cpp
+++ b/src/plugins/contrib/clangd_client/src/codecompletion/codecompletion.cpp
@@ -1073,11 +1073,9 @@ void ClgdCompletion::BuildModuleMenu(const ModuleType type, wxMenu* menu, const
         const wxString labelAStyle = _("Format use AStyle");
         const wxString label = _("Format use Clangd"); // (christo 25/05/02)
         int position = Manager::Get()->GetPluginManager()->FindSortedMenuItemPosition(*menu, labelAStyle);
-        wxMenuItem* item = menu->FindItemByPosition(position);
-        if (item)  {
-            wxString itemLabel = item->GetItemLabelText();
-            if (itemLabel == labelAStyle)
-                position += 1;
+        if (position != menu->GetMenuItemCount())
+        {
+            position += 1;
         }
         menu->Insert(position, idCodeFormatterActiveFile, label, _("Format the selected source code (selected line) in the current file"));
5
Plugins development / Re: Code format support in clangd_client plugin
« Last post by Pecan on Yesterday at 05:59:20 pm »
Many of the projects now a days use clang-format for formatting code. clangd has support for clang-format as well using textDocument/rangeFormatting  LSP request. Attaching patch which adds a  context menu item " Format use Clangd" and does the formatting on selecting that.

Applied svn 13663. Thanks
6
Plugins development / ThreadSearch : documentation + others
« Last post by LETARTARE on Yesterday at 11:37:21 am »
Cb-13662 + wx-328 + gcc-14.2, Win-7

I wanted to create the documentation with 'Doxygen' and I had to correct forgetfulness in the comments,
so I made the following changes :
1- omission for comments 'Doxygen' ...
2- all single words 'NULL' => 'nullptr'
3- in manisfest.xml: version '1.14' => 1.15'
4- 'END_EVENT_TABLE();' => 'END_EVENT_TABLE()'
5- event 'EVT_TEXT' not used in ''ThreadSearch.cpp' : see
     
Quote
'void ThreadSearch::OnCboSearchExprEnter(wxCommandEvent &event)'
6- in 'ThreadSearch::OnAttach()' with LOGGING string translation

So I dropped a ticket to https://sourceforge.net/p/codeblocks/tickets/1532/
7
Help / Re: Most download links for CB 25.03 not working
« Last post by gtafan on May 12, 2025, 05:39:31 pm »
The links should be fixed now for 32 bit builds. You should (however) always consider to use the 64 bit bundle - the compiler that ships with that one can also create 32 bit executables.
Unfortunately 64 bit compiler has problems creating 32 bit executables. Have posted about this already here: https://forums.codeblocks.org/index.php/topic,26027.0.html
8
Nightly builds / Re: The 22 February 2025 build (13620) is out.
« Last post by raynebc on May 11, 2025, 11:30:56 pm »
Also, when I'm using the debugger, debugging to the next line (F7) causes the watch list to remove my position in the Watches window and it scrolls back to the top of the list.  I assume nobody wants this behavior so it's probably a bug.
9
Help / Re: Most download links for CB 25.03 not working
« Last post by gd_on on May 11, 2025, 05:56:24 pm »
Better but still not good for nosetup Windows versions. Links should be to a .zip file, not a .exe, for 64 and 32 bit versions.
More but it's a detail, for 32 bit Windows versions, files on sourceforge contains the string -32bit- (as the link) but not the name of the file displayed on the download binaries page.
A last small detail : the dowload page, at the top, does not say that it is also OK for Windows 11.
10
Help / Re: Most download links for CB 25.03 not working
« Last post by MortenMacFly on May 11, 2025, 10:59:12 am »
The links should be fixed now for 32 bit builds. You should (however) always consider to use the 64 bit bundle - the compiler that ships with that one can also create 32 bit executables.
Pages: [1] 2 3 4 5 6 ... 10