Re: A complete code browser for PureBasic [Windows]
Posted: Mon Dec 16, 2024 1:38 pm
Hi Denis! I'm very glad you're interested in PBBrowser.
The fact that you work in a particular way with PureBasic interests me because it can allow me to make PBBrowser even more flexible.
But, at the moment, I'm having trouble understanding exactly how you do it. Here are some comments and questions to try to clarify things:
It is very possible that I did not fully understand the nature of the problem you are considering. In any case, if there really is one, I'm sure I can find a solution. Using inline commands to control PBBrowser, for example.
The fact that you work in a particular way with PureBasic interests me because it can allow me to make PBBrowser even more flexible.
But, at the moment, I'm having trouble understanding exactly how you do it. Here are some comments and questions to try to clarify things:
- Comment: PBBrowser can list files to examine from a project, but it does not absolutely need to. If you open the main '.pb' file of your project (instead of opening the '.pbp'), PBBrowser will examine all the "IncludedFile" mentions in order to establish the list of files that the program includes as a whole.
- Suggestion: You could try opening your project from the .pbp file, then, if that doesn't work (but I really don't see why it wouldn't work) from the main .pb file.
- Comment: In theory, from the moment your program is open in the IDE, PBBrowser can work on it, whatever adjustments you may have made to your working environment.
- Comment: Once PBBrowser has been compiled and/or installed on your machine, then installed in the IDE tools, you no longer even need to wonder how it lists a project's files. Click on a word in your code in the IDE, then press CTRL + Q. If a project that includes this file is open int the IDE, PBBrowser will use it to list the files. If this is not the case, it will manage with 'IncludedFile' mentions.
- Question: You write: "it saves all project's prefs files in a special folder". But I don't understand what you are recording in your prefs, in 'C:\Users\ldsou\AppData\Roaming\PureBasic\ASM_Generator', for example. Are these preferences for PureBasic? Are these preferences for your particular tool? What do you exactly mean by "each project has its own ‘PB environment’"?
- Suggestion: You write: "If I install code browser in the standard way, it won't work" but it seems you haven't try. Please try and describe the encountered problem, if any.
It is very possible that I did not fully understand the nature of the problem you are considering. In any case, if there really is one, I'm sure I can find a solution. Using inline commands to control PBBrowser, for example.