Repository navigation
Releases
Releases · msarson/FlattenCode
FlattenCode v1.0.4
Fixed
- The
.addinmanifest now declares the real version. Every release since 1.0.1 shipped a manifest still sayingversion="1.0", so Addin Finder offered an update that installing could never clear. Installing 1.0.4 clears it for good. - A Release-build check (
CheckAddinVersion) now fails the build when the manifest and project version disagree, so this cannot happen again.
No functional changes.
v1.0.3
v1.0.2
Changes
- Context menu item now appears once only, showing the \Ctrl+Shift+F\ hint
- Item is hidden entirely when caret is not inside or adjacent to a continuation block
- Removed menu separators
How it works
The main menu (Edit → Format) registration provides both the keyboard shortcut and the single context menu entry. The \HasContinuation\ condition hides it on unrelated code.
See CHANGELOG.md for full details.
v1.0.1
Bug fix
- Fixed incorrect handling of Clarion's doubled-quote escape sequence (
'') inside string literals. Previously a|character appearing after a''in a string (e.g.PROMPT('Don''t fear'),AT(1,1), |) could be misidentified as a continuation pipe.
v1.0
Installation
- Download FlattenCode-v1.0.zip and extract it
- Copy both files to a new folder: \accessory\addins\FlattenCode\
- Restart the Clarion IDE
Usage
- Ctrl+Shift+F to flatten line continuations in the current file
- Or right-click in any CLW source editor / Embeditor → Flatten Code