Slow IDE - Coloring and Issues
Slow IDE - Coloring and Issues
Here is just a short description of my problems with the IDE, maybe it will help someone else.
I have a slow PC and therefore have problems with the IDE. Normal programming is no longer possible with my current project. The IDE is so slow that inputs such as a line break take ~ 1.5 seconds. Jumping from the beginning of a file with 17,000 lines to the end with CTRL+END takes eight seconds, then only two seconds each time. I have found two places that cause the problems.
Jumping in the file via keyboard or procedure list is slowed down by the coloring of the code, no matter how the color settings are set in the preferences.
If I comment out the call of the two lines 'HighlightingEngine(..., @HighlightCallback(), ...)' in 'ScintillaHighlighting.pb' in the source code of the IDE, the jumping works without delay. The source code is then no longer colored. Since I only use the comments and issues in color, this is no great loss. And I have never used bold font for keywords anyway.
The slow editing was caused by the issues. I have the issues displayed in the ToolsPanel and ~ 500 issues in my project. The setting for viewing the issues only from the current file, or the whole project did not change much. Only removing the issues from the ToolsPanel helped.
The procedure 'UpdateIssueList()' is called by 'UpdateProcedureList()' in 'ProcedureBrowser.pb', and this happens all the time when editing the code.
So after several hours of searching for the causes, I can get back to programming.
Peter
I have a slow PC and therefore have problems with the IDE. Normal programming is no longer possible with my current project. The IDE is so slow that inputs such as a line break take ~ 1.5 seconds. Jumping from the beginning of a file with 17,000 lines to the end with CTRL+END takes eight seconds, then only two seconds each time. I have found two places that cause the problems.
Jumping in the file via keyboard or procedure list is slowed down by the coloring of the code, no matter how the color settings are set in the preferences.
If I comment out the call of the two lines 'HighlightingEngine(..., @HighlightCallback(), ...)' in 'ScintillaHighlighting.pb' in the source code of the IDE, the jumping works without delay. The source code is then no longer colored. Since I only use the comments and issues in color, this is no great loss. And I have never used bold font for keywords anyway.
The slow editing was caused by the issues. I have the issues displayed in the ToolsPanel and ~ 500 issues in my project. The setting for viewing the issues only from the current file, or the whole project did not change much. Only removing the issues from the ToolsPanel helped.
The procedure 'UpdateIssueList()' is called by 'UpdateProcedureList()' in 'ProcedureBrowser.pb', and this happens all the time when editing the code.
So after several hours of searching for the causes, I can get back to programming.
Peter
Re: Slow IDE - Coloring and Issues
You don't have the "1&1 smartdrive (upload manager)" installed, do you?
{Home}.:|:.{Dialog Design0R}.:|:.{Codes}.:|:.{History Viewer Online}.:|:.{Send a Beer}
Re: Slow IDE - Coloring and Issues
No, I have not installed it. Nor have I installed a virus protection program or anything similar.
For example, I can edit the source code of the IDE relatively normally, although it has 30,000 lines more than my project. However, the code only contains 56 issues.
Peter
For example, I can edit the source code of the IDE relatively normally, although it has 30,000 lines more than my project. However, the code only contains 56 issues.
Peter
Re: Slow IDE - Coloring and Issues
I have now also commented out the procedure 'UpdateIssueList()' in 'UpdateProcedureList()', and the IDE is now fast again. The issues are updated when the issues window is opened or when the filter is changed, that's enough for me.
Peter
Peter
Re: Slow IDE - Coloring and Issues
Wait a minute, I must not have read it carefully, you mean you have a project with ~500 issues?
Guess no one expected that, there might be room for improvement in the IDE then.
If one of my projects had ~500 issues, I'd cancel it most likely
Guess no one expected that, there might be room for improvement in the IDE then.
If one of my projects had ~500 issues, I'd cancel it most likely

{Home}.:|:.{Dialog Design0R}.:|:.{Codes}.:|:.{History Viewer Online}.:|:.{Send a Beer}
Re: Slow IDE - Coloring and Issues
To be fair, I myself use the issues tool for todos and little notes as well as actual issuesHeX0R wrote: Fri Mar 07, 2025 10:59 pm If one of my projects had ~500 issues, I'd cancel it most likely![]()

Re: Slow IDE - Coloring and Issues
Hello HeX0R,
https://www.dreisiebner.at/temp/PB_IDE-Issues.png
With the colored procedure list, the issues are easily recognizable, and with the filter you can quickly display only the desired issues even without the issue tool window. As Quin writes, I use the issues as information.
Peter
Here is a screenshot of the IDE with the issues.HeX0R wrote: Fri Mar 07, 2025 10:59 pm Wait a minute, I must not have read it carefully, you mean you have a project with ~500 issues?
https://www.dreisiebner.at/temp/PB_IDE-Issues.png
With the colored procedure list, the issues are easily recognizable, and with the filter you can quickly display only the desired issues even without the issue tool window. As Quin writes, I use the issues as information.
Peter
Re: Slow IDE - Coloring and Issues
Is that a third-party tool? Looks like it to me (my procedure list doesn't have those buttons on the bottom), and so this is probably the cause of your slowness. Use a clean install of PureBasic to test.
Re: Slow IDE - Coloring and Issues
Kind of.... but it is part of the official release.
See the Announcement topic below for further information....
PureBasic 6.20 beta 2 is out !
The whole story: Integrated 'Multicolored Procedure List' in IDE
And yes, with this activated, the IDE is noticeable slower.
Just because it worked doesn't mean it works.
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
Re: Slow IDE - Coloring and Issues
Yes the colored procedure list is slower, but I don't notice any slowdown when using it. Here are two speed measurements on my slow PC (Intel Celeron J1900 1.33 GHz).
https://www.dreisiebner.at/temp/PB_Proc ... olored.png
https://www.dreisiebner.at/temp/PB_Proc ... andard.png
Decimal point and grouping is in German for the values.
Peter
Re: Slow IDE - Coloring and Issues
Oh, right. I see it in 6.20 now (never noticed it before). So, I tested my large app in it and I get no slowdown in the IDE at all.