Not all included files are opened

41 views
Skip to first unread message

Tommi Prami

unread,
Dec 2, 2025, 12:31:31 AM (6 days ago) Dec 2
to inno...@googlegroups.com
Hello,

I have configured Inno to upen all files automatically, but many of the files are not opened.
image.png

Most of the time it is OK, but now I need to debug a file that is not opened.

Can't quite figure out why there is no separate "Open included file..." functionality. Also now would help if I could set breakpoint into the Preprocessor output-file, but it seems that I can't.

Files that are not opened into the IDE are included fine into the  Preprocessor output-file, and the installer compiles and works fine.

Is there anything I could do to get the file(s) opened into the IDE? 

-tee-

Martijn Laan

unread,
Dec 2, 2025, 4:24:10 AM (6 days ago) Dec 2
to innosetup
Hi,

How many include files do you have? It supports opening up to 20 of them.

If you have less but not all appear, it's likely you have closed them before, and you can reopen from the View menu, or the status bar, or by right clicking a tab.

Greetings,
Martijn

Op 2-12-2025 om 06:31 schreef Tommi Prami:
Hello,

I have configured Inno to upen all files automatically, but many of the files are not opened.


Most of the time it is OK, but now I need to debug a file that is not opened.

Can't quite figure out why there is no separate "Open included file..." functionality. Also now would help if I could set breakpoint into the Preprocessor output-file, but it seems that I can't.

Files that are not opened into the IDE are included fine into the  Preprocessor output-file, and the installer compiles and works fine.

Is there anything I could do to get the file(s) opened into the IDE? 

-tee-

--
You received this message because you are subscribed to the Google Groups "innosetup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to innosetup+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/CABwd-apOpBsPjiffr_Gv2q59Hoo4ZNqzc7x2zhmOCh-D-4EBMA%40mail.gmail.com.

Tommi Prami

unread,
Dec 2, 2025, 7:20:30 AM (6 days ago) Dec 2
to inno...@googlegroups.com
Hello,

I was thinking that there could be a hard limit of tabs. 

I checked and think I have 38 files. While back, refactored project into smaller files, instead of massive ones.

-tee-

Tommi Prami

unread,
Dec 5, 2025, 3:53:08 AM (3 days ago) Dec 5
to inno...@googlegroups.com
Yellow,

Could you increase the upper limit please? 

-tee-

On Tue, Dec 2, 2025 at 11:24 AM 'Martijn Laan' via innosetup <inno...@googlegroups.com> wrote:

Martijn Laan

unread,
Dec 5, 2025, 6:10:14 AM (3 days ago) Dec 5
to inno...@googlegroups.com
Hi,

I don't know. To be honest, the limit of 20 already sounds like quite a lot.

The limit is there because supporting more comes with overhead (more Scintilla instances, even if you don't have extra include files), and the IDE is also missing functionality to navigate many files. For example, the tab control has no special features for handling large numbers of tabs, nor is there something like a dialog that lets you enter a filename and jump to it.

Greetings,
Martijn

Op 5-12-2025 om 09:52 schreef Tommi Prami:

Tommi Prami

unread,
Dec 5, 2025, 7:43:13 AM (3 days ago) Dec 5
to inno...@googlegroups.com
Chello,

Would not hurt to try right? And if hurts, it only hurts those that have lot of files, like me.

Don't know is there some technical difficulties. At least for me IDE does bot hog resources, CPU or memory. I am OK if it eats 8 cores and 10gb of memory.

In Other hand I am not OK the fact that I could not debug code, and had to use 20x more time to find it by reading code on external editor.

Also I can close all the tabs I am not interested at the moment. Now I have no way to fo that.

...Or would be OK also if files not opened automatically, would be listed in closed tabs list, and if 20 is open and click one to open it, it would give error message or something like that.

-tee-



Gavin Lambert

unread,
Dec 7, 2025, 5:40:30 PM (11 hours ago) Dec 7
to innosetup
On Saturday, December 6, 2025 at 12:10:14 AM UTC+13 Martijn Laan wrote:
I don't know. To be honest, the limit of 20 already sounds like quite a lot.

The limit is there because supporting more comes with overhead (more Scintilla instances, even if you don't have extra include files), and the IDE is also missing functionality to navigate many files. For example, the tab control has no special features for handling large numbers of tabs, nor is there something like a dialog that lets you enter a filename and jump to it.

How hard would it be to add a menu item to the right-click menu when the cursor is on a #include line to make it open the corresponding file?  To me, the preferred behaviour would be to show only the main and preprocessed file (not open included files by default) but have an easy way to open them on demand.

Another (perhaps better, since it doesn't require hunting down the #include line) option might be to have a menu item (either via submenu or popup dialog) that supports any number of included files that can be opened on demand rather than auto-opened. 
Reply all
Reply to author
Forward
0 new messages