From e1f77714cc83f918eec62558da75f697872e6beb Mon Sep 17 00:00:00 2001 From: Kuba Sunderland-Ober Date: Wed, 18 Nov 2026 19:15:18 +0100 Subject: [PATCH 1/2] Community: a top-level section for the add-in and tool lists, the experimental packages, guides and where the community meets --- builder/page-baseline.json | 2 +- .../index.md => Community/AddIns.md} | 16 ++--- docs/{Reference => Community}/Experimental.md | 6 +- .../CommunityTools.md => Community/Tools.md} | 12 ++-- docs/Community/index.md | 58 +++++++++++++++++++ docs/Documentation/Authoring.md | 1 + docs/IDE/AddIns/index.md | 4 ++ docs/Reference/Packages.md | 3 +- docs/_book.yml | 8 ++- docs/index.md | 5 +- 10 files changed, 92 insertions(+), 23 deletions(-) rename docs/{IDE/AddIns/Community/index.md => Community/AddIns.md} (85%) rename docs/{Reference => Community}/Experimental.md (97%) rename docs/{IDE/AddIns/CommunityTools.md => Community/Tools.md} (91%) create mode 100644 docs/Community/index.md diff --git a/builder/page-baseline.json b/builder/page-baseline.json index 162c73566..e8f7827f2 100644 --- a/builder/page-baseline.json +++ b/builder/page-baseline.json @@ -1,5 +1,5 @@ { "src": "docs", - "pages": 1551, + "pages": 1552, "staticFiles": 1471 } diff --git a/docs/IDE/AddIns/Community/index.md b/docs/Community/AddIns.md similarity index 85% rename from docs/IDE/AddIns/Community/index.md rename to docs/Community/AddIns.md index 29e7ff5b3..f7381a552 100644 --- a/docs/IDE/AddIns/Community/index.md +++ b/docs/Community/AddIns.md @@ -1,18 +1,20 @@ --- title: Community Add Ins -parent: Add Ins -nav_order: 3 -permalink: /tB/IDE/AddIns/Community +parent: Community +nav_order: 1 +permalink: /Community/Add-Ins +redirect_from: + - /tB/IDE/AddIns/Community --- # Community add-ins -Community add-ins are the ones that twinBASIC users write and share, as distinct from [Global Search](GlobalSearch), which ships with the IDE, and the [Help add-in](Help). Programs that are not add-ins, such as one that installs a new version of twinBASIC, are on the [Community tools](Community-Tools) page. +Community add-ins are the ones that twinBASIC users write and share, as distinct from [Global Search](../tB/IDE/AddIns/GlobalSearch), which ships with the IDE, and the [Help add-in](../tB/IDE/AddIns/Help). Programs that are not add-ins, such as one that installs a new version of twinBASIC, are on the [Community tools](Tools) page. > [!WARNING] > An add-in is a compiled DLL that runs inside the IDE, with your rights. Treat it as you would any program that you have not written yourself. -The add-ins below are listed as their authors describe them. Each is published as compiled DLLs. [Add Ins](./) says where the DLLs go. The **Builds** column says which of the two architecture folders the add-in has a DLL for: an add-in with a 32-bit build only does not load while the project's build target is win64. +The add-ins below are listed as their authors describe them. Each is published as compiled DLLs. [Add Ins](../tB/IDE/AddIns/) says where the DLLs go. The **Builds** column says which of the two architecture folders the add-in has a DLL for: an add-in with a 32-bit build only does not load while the project's build target is win64. ## Add-ins by sokinkeso @@ -39,6 +41,6 @@ These add-ins are published only as attachments to a thread in the **show-and-te | [tbSplitScreen](https://discord.com/channels/927638153546829845/1522162642700206146) | woeoio2 | Shows the active file a second time, read-only, in a tool window beside the editor. It can follow the editor as you change to another file. Its highlighting is that of VB6, so it does not colour a `/* */` comment. | 1.0.1, July 2026 | not stated | | [VB6 to twinBASIC clipboard](https://discord.com/channels/927638153546829845/1333920083914788946) | sokinkeso | Converts the controls that you copy from a form in the VB6 IDE, so that you can paste them on a twinBASIC form without importing the VB6 project. The author calls it experimental. | 0.2.17.0, January 2025 | 32-bit | -To share an add-in, add it to this page: [Authoring](../../../Documentation/Development/Authoring) describes how to change a page of this documentation. +To share an add-in, add it to this page: [Authoring](../Documentation/Development/Authoring) describes how to change a page of this documentation. -To write one, start from Sample 10, the card **twinBASIC IDE Addin** in the **Samples** section of the **New / Open Project** dialog. See [Samples](../Starting/Samples) and the [tbIDE package](../../Packages/tbIDE/). +To write one, start from Sample 10, the card **twinBASIC IDE Addin** in the **Samples** section of the **New / Open Project** dialog. See [Samples](../tB/IDE/Starting/Samples) and the [tbIDE package](../tB/Packages/tbIDE/). diff --git a/docs/Reference/Experimental.md b/docs/Community/Experimental.md similarity index 97% rename from docs/Reference/Experimental.md rename to docs/Community/Experimental.md index aca85f4a6..b0ae0f9ca 100644 --- a/docs/Reference/Experimental.md +++ b/docs/Community/Experimental.md @@ -1,7 +1,7 @@ --- title: Experimental Packages -parent: Packages -nav_order: 4 +parent: Community +nav_order: 3 permalink: /tB/Packages/Experimental/ has_toc: false --- @@ -10,7 +10,7 @@ has_toc: false Community-authored packages from TWINSERV that are not yet ready for use in a program. -These packages are published through TWINSERV, as the [Contributed Packages](../Contributed/) are, and are documented in the same way. A package is listed here when its newest version does not compile in the current twinBASIC, or when it has defects that a program would meet. Each section says which version it documents and what does not work yet. A package moves to the Contributed Packages once a version of it works, and its pages keep their addresses. +These packages are published through TWINSERV, as the [Contributed Packages](../Contributed/) are, and are documented in the same way. A package is listed here when its newest version does not compile in the current twinBASIC, or when it has defects that a program would meet. Each section says which version it documents and what does not work yet. A package moves to the Contributed Packages, in the Reference Section, once a version of it works, and its pages keep their addresses. - [**ArrayListLib**](../Contributed/ArrayListLib/) -- a list class in place of .NET's `ArrayList`. Version 1.6.151.1 does not compile in twinBASIC BETA 1042, and in a copy that does, a **For Each** over a list with no items fails, **ToString** of such a list never returns, **Reverse** leaves the two middle items of an even run in place, and a second **GetEnumerator** over the same list ignores its arguments. - [**GdiPlus**](../Contributed/GdiPlus/) -- Windows GDI+: lines, shapes, text and images drawn with pens, brushes, fonts, paths and transformations. Version 0.9.45.0 compiles, and has many members that give wrong results, fail or do not return: a colour given as a **Long** has its red and blue swapped and loses its alpha, saving an image with encoder parameters fails, the font collections cannot be created, and several path, metafile and effect members fail. diff --git a/docs/IDE/AddIns/CommunityTools.md b/docs/Community/Tools.md similarity index 91% rename from docs/IDE/AddIns/CommunityTools.md rename to docs/Community/Tools.md index ee7e093bb..a0293c88b 100644 --- a/docs/IDE/AddIns/CommunityTools.md +++ b/docs/Community/Tools.md @@ -1,15 +1,17 @@ --- title: Community Tools -parent: Add Ins -nav_order: 4 -permalink: /tB/IDE/AddIns/Community-Tools +parent: Community +nav_order: 2 +permalink: /Community/Tools +redirect_from: + - /tB/IDE/AddIns/Community-Tools index: - community utilities --- # Community tools -Community tools are programs that twinBASIC users write and share, and that help with twinBASIC itself: installing a new version, moving code from VB6, editing twinBASIC code outside the IDE. A tool is a program of its own. It is not an add-in, which the IDE loads: those are on the [Community add-ins](Community) page. +Community tools are programs that twinBASIC users write and share, and that help with twinBASIC itself: installing a new version, moving code from VB6, editing twinBASIC code outside the IDE. A tool is a program of its own. It is not an add-in, which the IDE loads: those are on the [Community add-ins](Add-Ins) page. > [!WARNING] > Each tool is a program that its author publishes. Treat it as you would any program that you have not written yourself. @@ -41,4 +43,4 @@ A new version of twinBASIC is a zip file to download and unpack. These tools do To add the highlighting, download one of the two files. In Notepad++, choose **Language → User Defined Language → Define your language...**, then **Import**, and select the file. **twinBASIC** is then in the **Language** menu. -To share a tool, add it to this page: [Authoring](../../../Documentation/Development/Authoring) describes how to change a page of this documentation. +To share a tool, add it to this page: [Authoring](../Documentation/Development/Authoring) describes how to change a page of this documentation. diff --git a/docs/Community/index.md b/docs/Community/index.md new file mode 100644 index 000000000..65513a8d4 --- /dev/null +++ b/docs/Community/index.md @@ -0,0 +1,58 @@ +--- +title: Community +nav_order: 10 +permalink: /Community/ +has_toc: false +index: + - community contributions + - third-party +--- + +# Community + +Lists what twinBASIC users write and share: packages, add-ins for the IDE, tools and guides. It also says where the community meets, and how to add a contribution to these lists. + +Everything listed here is the work of its author, who publishes and maintains it. + +## Packages + +A community package is published through TWINSERV, the twinBASIC package registry, and is added to a project from the **Available Packages** tab of **Project → References...**: see [Importing a Package from TWINSERV](../Features/Packages/Importing-TWINSERV). The packages that this documentation covers are in two lists: + +- [**Contributed Packages**](../tB/Packages/Contributed/) -- the packages that are ready for use in a program. Their reference is in the Reference Section, with the packages that twinBASIC ships. +- [**Experimental Packages**](../tB/Packages/Experimental/) -- the packages that are not yet ready: the newest version does not compile in the current twinBASIC, or has defects that a program would meet. + +Some contributed packages hold controls that replace VB6 controls: a flex grid, the common dialogs. [Controls in contributed packages](../tB/Controls#controls-in-contributed-packages) lists them. + +## Add-ins and tools + +- [**Community add-ins**](Add-Ins) -- DLLs that the IDE loads: saving the project at an interval, setting the tab order of a form, starting other programs from a panel, and more. +- [**Community tools**](Tools) -- programs of their own that help with twinBASIC: installing a new version, moving code from VB6, editing twinBASIC code in another editor. + +## Guides + +Mike Wolfe writes about twinBASIC at [nolongerset.com](https://nolongerset.com/tag/twinbasic): + +- [Create a Custom ActiveX Control with twinBASIC](https://nolongerset.com/create-activex-control-with-twinbasic/) +- [Create a Tool Window in the VBIDE with twinBASIC](https://nolongerset.com/create-a-vbe-addin-with-twinbasic/) +- [twinBASIC weekly updates](https://nolongerset.com/tag/twinbasic-weekly-update/) -- a summary of each week's twinBASIC news + +The [Videos](../Videos) section links to recorded talks and demonstrations. + +## Third-party ActiveX controls + +twinBASIC programs can use ActiveX controls. [VB6 controls in twinBASIC](../tB/Controls#vb6-controls) lists the controls that came with VB6 and what replaces each one. + +For controls from other publishers, reports of how each works in twinBASIC are collected in [issue 276](https://github.com/twinbasic/documentation/issues/276) of the documentation's repository, for a compatibility list on this site. + +## Where the community meets + +- The [**twinBASIC Discord server**](https://discord.gg/UaW9GgKKuE) -- conversation with other twinBASIC users, the **bugs** channel for reports of defects, and the **show-and-tell** channel, where users post what they have made. +- [**Issues**](https://github.com/twinbasic/twinbasic/issues) of the twinBASIC repository on GitHub -- reports of defects and requests for features. +- [**Discussions**](https://github.com/twinbasic/twinbasic/discussions) of the same repository -- longer conversations about the language and the IDE. +- The [**documentation's repository**](https://github.com/twinbasic/documentation) -- the source of this site, with its own bug tracker. + +## Adding to these lists + +To share a package, publish it through TWINSERV. [Package Publishing](../tB/IDE/Building/Package-Publishing) describes the publisher account and the steps in the IDE. + +To share an add-in, a tool or a guide, add it to its page here: [Authoring](../Documentation/Development/Authoring) describes how to change a page of this documentation. An issue in the [documentation's repository](https://github.com/twinbasic/documentation/issues) that names the contribution and where it is published does as well. diff --git a/docs/Documentation/Authoring.md b/docs/Documentation/Authoring.md index 7e63565ac..b14692534 100644 --- a/docs/Documentation/Authoring.md +++ b/docs/Documentation/Authoring.md @@ -24,6 +24,7 @@ The documentation is grouped by area, each a folder under `docs/`: - **Features** --- articles on individual twinBASIC language features. - **LLVM** --- compiling with the LLVM back end: turning it on, its options, and its current limitations. - **IDE** --- the IDE user guide. +- **Community** --- what twinBASIC users write and share: the lists of add-ins, tools and experimental packages, and links to the contributed packages and to guides. - **Downloads** --- one page that lists every file this documentation publishes for readers, with a link to each one's documentation. - **Documentation** --- this section: the toolchain reference and this authoring guide. diff --git a/docs/IDE/AddIns/index.md b/docs/IDE/AddIns/index.md index a80ade82d..c10793209 100644 --- a/docs/IDE/AddIns/index.md +++ b/docs/IDE/AddIns/index.md @@ -43,3 +43,7 @@ The DEBUG CONSOLE says why, on a line that starts with the DLL's file name in br | `Failed to load addin. Entry point 'tbCreateCompilerAddin' returned an object that does not implement interface IAddInV1.` | It returned an object that does not implement [**AddIn**](../../Packages/tbIDE/AddIn). | The Add-Ins menu still lists such a DLL, as *Unknown Addin*. + +## Add-ins from the community + +The add-ins that twinBASIC users write and share are listed on the [Community add-ins](../../../Community/Add-Ins) page of the [Community](../../../Community/) section. Programs that help with twinBASIC and are not add-ins are on its [Community tools](../../../Community/Tools) page. diff --git a/docs/Reference/Packages.md b/docs/Reference/Packages.md index 8af4d6a56..5c8912e14 100644 --- a/docs/Reference/Packages.md +++ b/docs/Reference/Packages.md @@ -12,4 +12,5 @@ A *package* groups related code --- modules, classes, controls, and enumerations - [**Default Packages**](Default/) -- VB, VBA, and VBRUN -- included in every project by default - [**Built-In Packages**](Built-In/) -- {{tbdocs:builtInPackages}} optional packages shipped with twinBASIC, always available offline - [**Contributed Packages**](Contributed/) -- community-authored packages published through TWINSERV, the twinBASIC package registry -- [**Experimental Packages**](Experimental/) -- community-authored packages from TWINSERV that are not yet ready for use in a program + +Community-authored packages that are not yet ready for use in a program are the [**Experimental Packages**](Experimental/), in the [Community](../../Community/) section. diff --git a/docs/_book.yml b/docs/_book.yml index 0b161aac9..0274c6c96 100644 --- a/docs/_book.yml +++ b/docs/_book.yml @@ -312,8 +312,8 @@ parts: pages: - /tB/IDE/AddIns/ - /tB/IDE/AddIns/GlobalSearch - - /tB/IDE/AddIns/Community - - /tB/IDE/AddIns/Community-Tools + - /Community/Add-Ins + - /Community/Tools no_descent: true no_outline_entry: true no_heading_shift: true @@ -671,6 +671,10 @@ left_out: - reason: Time-limited community contests page: /Challenges + - reason: The Community section's index, a page of links; its add-in and tool lists are in the IDE part's Add Ins chapter + page: /Community/ + no_descent: true + # A package moves here from its chapter when it is listed under # Experimental Packages, and gets its chapter back (after VBComDlg's) when # it moves back to Contributed Packages. A section's pages share its folder diff --git a/docs/index.md b/docs/index.md index d05997fc9..3d0a75f8d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -84,11 +84,8 @@ The [**IDE section**](tB/IDE) documents the [code editor and the panels beside i ## Community and external resources -- The [**twinBASIC wiki**](https://github.com/twinbasic/documentation/wiki) on GitHub supplements these docs with community contributions and notes on bleeding-edge features. +- The [**Community**](Community/) section lists what twinBASIC users write and share: [packages](tB/Packages/Contributed/), [add-ins](Community/Add-Ins) for the IDE, [tools](Community/Tools) and guides. It also says where the community meets. - [**Videos**](Videos/) --- the twinBASIC video series and the [**Access DevCon**](Videos/AccessDevCon) conference sessions. -- Third-party guides by Mike Wolfe at [@nolongerset](https://nolongerset.com): - - [Create a Custom ActiveX Control with twinBASIC](https://nolongerset.com/create-activex-control-with-twinbasic/) - - [Create a Tool Window in the VBIDE with twinBASIC](https://nolongerset.com/create-a-vbe-addin-with-twinbasic/) ## Reading offline From e14198e512b4fedd9dddb0f211f3c211d4bdc520 Mon Sep 17 00:00:00 2001 From: Kuba Sunderland-Ober Date: Wed, 18 Nov 2026 19:15:18 +0100 Subject: [PATCH 2/2] WIP.md: the Community section and what its lists hold --- WIP.IDE.md | 2 +- WIP.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/WIP.IDE.md b/WIP.IDE.md index 8a2754d9a..acc2c4c60 100644 --- a/WIP.IDE.md +++ b/WIP.IDE.md @@ -38,7 +38,7 @@ children. Second person ("you") is allowed here, as in tutorials. | 6 | Running and debugging | `/tB/IDE/Debugging` + children | Menu/Debug's run-time error walkthrough and Debugger Options, Menu/Run, Debug Console, Variables, Watches, Call Stack, Memory, `Features/Compiler-IDE/Debugging` | | 7 | Building | `/tB/IDE/Building` | Toolbar's Build configuration, Menu/File's Build and Clean, Package Publishing, links to LLVM and Project-Types | | 8 | Customising the IDE | `/tB/IDE/Customising/` + children | IDE Options (all of them), themes and custom `.theme` files, panel layouts, keyboard shortcuts, language (from Menu/Window and Menu/Tools) | -| 9 | Add-ins | `/tB/IDE/AddIns/` | AddIns/* (the community add-ins are listed from their authors' READMEs and release pages, and the Discord-only ones from their show-and-tell threads in the Wisdom harvest, each linked by its thread: they are published as DLLs, and none is downloaded or run here. sokinkeso plans to replace his with a commercial suite, KESO-DevToolz: update the table when it is out. Left out: fafalone's CodeStatAddin, unfinished by his word, and EJ's tb-claude, whose repository is gone. `Community-Tools` lists the programs that are not add-ins, from the same sources and by the same rules; a tool is listed if it helps with twinBASIC itself, so the demos and applications of show-and-tell are not. Owner: a top-level page for all community contributions, packages included, is the long-term place for both lists) | +| 9 | Add-ins | `/tB/IDE/AddIns/` | AddIns/* (the lists of community add-ins and community tools are pages of the Community section, `docs/Community/`, and stay in this chapter of the book: WIP.md, *Where things live*) | | 10 | When something goes wrong | `/tB/IDE/Troubleshooting/` + children | Status Bar's service states, Restart the compiler, TRACE mode, error reporting | **Part B, Reference.** Written impersonally. One page per menu, plus the Toolbar, the Status Bar diff --git a/WIP.md b/WIP.md index 633622c3d..b05484b89 100644 --- a/WIP.md +++ b/WIP.md @@ -48,7 +48,7 @@ sibling. History goes nowhere: git keeps it. Reference documentation is **complete** for every default and built-in package: VBA, VBRUN, VB, WebView2, Assert, CustomControls, CEF, WinEventLogLib, WinNamedPipesLib, WinServicesLib, tbIDE, WinNativeCommonCtls and AppGlobalClassObject. It is adapted from primary sources: Microsoft VBA-Docs (CC-BY-4.0) for the runtime library, `.twin` source for the twinBASIC-specific packages. The CEF and WebView2 packages also carry a tutorial set. -The **contributed** packages from TWINSERV have sections under `docs/Reference/Contributed/`; the Experimental ones are listed in `docs/Reference/Experimental.md`. What each package's section decided is in [WIP.Contributed.md](WIP.Contributed.md#per-package). +The **contributed** packages from TWINSERV have sections under `docs/Reference/Contributed/`; the Experimental ones are listed in `docs/Community/Experimental.md`. What each package's section decided is in [WIP.Contributed.md](WIP.Contributed.md#per-package). ## Where things live @@ -88,6 +88,7 @@ The **contributed** packages from TWINSERV have sections under `docs/Reference/C - `docs/Reference/Data-Types.md` and `docs/Reference/Data-Types/.md` — the intrinsic data types (owner, 2026-10-18): one page per type at `/tB/Core/` (`parent: Data Types`, `grand_parent: Reference Section`, since the Features page *New Data Types* has the same title), and the summary page, `/Reference/Data-Types`, with one `## ` section per type that links to it. The summary's `symbols:` names the types, and the symbol index points each at its section (kind `type`, the one URL outside `/tB/`), so keep those headings' text. `Long.md` is the model page. - `docs/Reference/Statements.md` — alphabetical index of language statements. - `docs/Reference/Procedures and Functions.md` — alphabetical index of procedures/functions. +- `docs/Community/` — the Community section, `/Community/`, a top-level section after IDE in the nav (`nav_order: 10`): what twinBASIC users write and share (owner, 2026-11-18). `index.md` links to the contributed packages, which stay in the Reference Section, and holds the third-party guides, where the community meets, and how to get listed. Its children are `AddIns.md` (`/Community/Add-Ins`), `Tools.md` (`/Community/Tools`) and `Experimental.md`, the Experimental Packages list, which keeps `/tB/Packages/Experimental/`; an experimental package's section stays in `docs/Reference/Contributed/` with `parent: Experimental Packages`, so the nav shows it under Community. In the book the two lists are in the IDE part's Add Ins chapter and the index is left out. The add-ins are listed from their authors' READMEs and release pages, and the Discord-only ones from their show-and-tell threads in the Wisdom harvest, each linked by its thread: they are published as DLLs, and none is downloaded or run here. sokinkeso plans to replace his with a commercial suite, KESO-DevToolz: update the table when it is out. Left out: fafalone's CodeStatAddin, unfinished by his word, and EJ's tb-claude, whose repository is gone. The tools are listed from the same sources and by the same rules; a tool is listed if it helps with twinBASIC itself, so the demos and applications of show-and-tell are not. No link to a GitHub wiki (owner): the documentation's is a staging ground, and twinbasic/twinbasic's says only that it moved. The ActiveX part links to twinbasic/documentation#276 until the compatibility list exists. - `docs/LLVM/` — the LLVM section: compiling with the LLVM back end. A top-level section between Features and Reference Section in the nav, at `nav_order: 6` (Features is 5). `index.md` is the landing page and `Getting-Started.md` the only page so far, with its screenshots under `Images/`. Everything it describes arrived in **BETA 984**. Its language claims are checked by `node test/llvm/run.mjs` (its README lists each claim and its page; run it after a new BETA), and its callouts by the reproducers under `bugs/` that their markers name, both with `tbrun --llvm` and `--exe`. Its samples are marked `check_build`, which compiles them; `examples.bat --llvm` also builds them with LLVM. ## Package API notes