Basic Moss – Auto-detect Executables
The program now includes another useful feature: an auto-detect function for executable (.exe) files. In the menu, you’ll find an option for Executable (.exe) files, where you can specify the paths to the files used to launch your BASIC programs—whether that’s a code editor, a full-fledged integrated development environment (IDE), or the BASIC interpreter itself.
How would
you like to run your BASIC code? You can use a built-in IDE, your preferred
code editor, or a separate, full-featured development environment. A new Auto-detect
executables button has been added to handle this. The feature scans for various
BASIC-related executables—specifically looking for files like `qb64.exe`,
`qb64pe.exe`, `bbcsdl.exe`, `fbc32.exe`, `fbc64.exe`, `pcbasicw.exe`, and
`pcbasic.exe`. Some of these, like QB64, come with their own built-in IDE,
whereas others—such as FreeBASIC—do not, requiring you to select an external
code editor or IDE.
The
auto-detect tool also distinguishes between 32-bit and 64-bit versions, allowing
you to choose which one to use. For FreeBASIC, the process is a bit more
involved: the tool searches for various code editors and IDEs, including
standard options like Notepad, Notepad++, Visual Studio Code, Visual Studio,
Eclipse, GVim, NVim, and Emacs.
Furthermore,
for FreeBASIC, there are specialized code editors designed specifically for the
language—such as FBIde, VisualFBeditor, and WinFBE—which the program can also
detect. These are code editors and development environments specifically for
FreeBASIC—recommended tools for a FreeBASIC development workflow. The Geany
code editor is also among the recommendations; it is well-suited for the task
and includes support for FreeBASIC.
If you
happen to have any of these, you can assign them to the FreeBASIC section.
Unlike other BASIC variants, which come with built-in code editors that are
easy to locate and launch, FreeBASIC requires a more involved setup process—you
have to hunt for the appropriate software. I’ve categorized these options into standard
solutions and recommended tools for FreeBASIC, allowing you to choose which one
you’d like to use to open your FreeBASIC projects.
Since these
programs could be located anywhere, the system currently defaults to searching
three standard directories: `C:\Program Files`, `C:\Program Files (x86)`, and
`C:\ProgramData`. I plan to add a configuration option that lets users specify
their own search directories—for example, `D:\My Programs`, `D:\Software`, or
`D:\Programming`. This way, users can add custom locations or remove
unnecessary ones to speed up the search process; after all, no one wants to
wait while the software scans folders that might not even contain anything.
The
auto-search process consists of three stages. First, you configure the search
parameters—defining where to look. Second, the search itself takes place (which
just requires a bit of patience). Finally, the third stage presents the
results, allowing you to select which editor you’d like to use for FreeBASIC
from the list of discovered programs. I’ve also accounted for the distinction
between 32-bit and 64-bit versions, so you can choose the appropriate
architecture; once you launch FreeBASIC, the system will use the specific
version you’ve selected. The search program actually lets you choose between
32-bit and 64-bit versions. Once you’ve made your selection, only that specific
version—either 32-bit or 64-bit—will launch.
Basic-Moss
is gaining this new feature—whether it’s truly useful or not is another
question. It automatically locates your BASIC files, and for FreeBASIC, it
offers a list of editors to choose from. I’ve read that FBIde, VisualFBREditor,
and WinFBE are recommended for FreeBASIC; Geany is also on the list of
suggestions. That said, I suspect that FreeBASIC syntax is supported in various
other environments and editors as well—there are likely plugins available for
them, too. So, things are a bit more complex when it comes to FreeBASIC, simply
because the user is given a choice.
Moss version 0.1 – most first version. In this version there is Basic Moss! For comfortable launch of Basic. 5 types.
Moss: http://www.dimalink.tv-games.ru/apps/moss/index_eng.html
Website: http://www.dimalink.tv-games.ru/home_eng.html





Comments
Post a Comment