Closed shriprem closed 2 years ago
Hi @jeff-bowles, I was hoping to write some coherent usage documentation before providing you with a pre-release version to try out. I will probably finish the documentation by tomorrow. But since my pace slows down to a crawl during the documentation phase (a task I don't enjoy as much as coding), there will likely be some delays beyond that as well.
So, if you are keen on trying out FWDataViz earlier than that, you can use the zip files attached below. But please be sure to review my brief usage notes below. And, let me know if you need further clarifications or have any questions or feedback. FWDataViz_x86_2.6.0.0-Pre.zip FWDataViz_x64_2.6.0.0-Pre.zip
Side note:
- If you need the DLLs from the latest commit CI build, you can obtain it from GitHub without reaching out to me. On the plugin repo page, click on
Actions
»CI_build
and then click on the link for the top workflow run. The resulting page will list the DLL files from the CI builds for the commit.- For latest Notepad++ builds, go to the Notepad++ AppVeyor Build History page. Then click on the link for the latest completed build (the top one with a green line on its side). Then click the link for Release version to match your NPP environment. Finally, click the Artifacts tab link to view the exe download link.
I recommend that you use the menu option: Settings » Import » Import Plugin(s) and select the folder wherein you downloaded the zip file matching your Notepad++ version bitness. However, if you prefer to update FWDataViz selectively, you will need to copy these 4 files that are new/changed: |
File | Status | Install Location |
---|---|---|---|
FWDataViz.dll |
Changed | <Notepad++_executable_folder>/plugins/FWDataViz/ |
|
default_FoldStructs.ini |
New | <Notepad++_executable_folder>/plugins/FWDataViz/ |
|
default_Visualizer.ini |
Changed | <Notepad++_executable_folder>/plugins/FWDataViz/ |
|
Samples/Ouroboros.txt |
New | <Notepad++_executable_folder>/plugins/FWDataViz/Samples/ |
Visualizer.ini
file). This editor will be implemented in due course for the next general release of FwDataViz.The definition scheme for record blocks will reside in the new FoldStructs.ini
file. Upon the first run of Notepad++ after upgrading the FWDataViz dll, this new file will get copied into either of the two folder locations:
%APPDATA%/Notepad++/plugins/Config/FWDataViz/
(for non-portable installs of NPP) or<Notepad++_executable_folder>/plugins/Config/FWDataViz/
(for portable installs of NPP)FoldStructs.ini
file layoutBase
section, the FoldStructCount
should indicate the number of file types that are being defined with folding record blocks.FS001
.FileType
value should exactly match the corresponding file type section name in the Visualizer.ini
file.FileLabel
value should optionally match the corresponding FileLabel
value in the Visualizer.ini
file.FoldLevelAuto
values can be either Y
or N
. This will specify whether, after a file loads into the NPP editor, the plugin should automatically try to do a full file scan and apply the specified folding structure for the matching file type. Recommend setting this to N
for file types with likely large data files, when this process can take a longer time.HeaderRecords
define a comma separated list of record types that will be headers for a folding record block. The record types should exactly match the corresponding record types for the file type in the Visualizer.ini
file.RECnnn_Priority
value will specify the order priority for a record block. A block with lower numeric value of priority will enclose a block with higher numeric value of priority. Recommend using values in increments of 10, so that blocks that need to be added at a later time can be specified with intermediate values. For example, the outermost record block can have a priority of 10, the next record block that may be enclosed underneath it can have a priority of 20, and so on.RECnnn_Recursive
value will specify whether record blocks with same priority value should nest inside each other. For most data files, this value will be N
. If this value is set to Y
, the result will be a nested folding structure similar to the nesting in the pseudocode below.
IF (CONDITION#1) THEN
IF (CONDITION#2) THEN
IF (CONDITION#3) THEN
...
END IF
END IF
END IF
RECnnn_EndRecords
value will specify record types that will terminate the record block. The end-record types should exactly match the corresponding record types for the file type in the Visualizer.ini
file. The record blocks will auto-terminate with:
RECnnn_Recursive=N
for the record block that will be terminated.View the sample files and then review their definitions in FoldStructs.ini
file.
This file has the most basic record block folding with just two record types, and only one level of folding.
This file has three levels of hierarchical folding. Yet the structure is simple since no recursive nesting is involved.
This sample file is named after the icon of a serpent eating its own tail. This contrived sample file is being included to showcase the full possibilities with the record block folding feature of FWDataViz.
P3
) is recursive and terminated by record type 2.Q4
) is recursive and terminated by record type 3. R5
) is recursive and terminated by record type 4. S6
) is recursive and terminated by record type 1. TF
) is non-recursive and terminates record types 1, 2, 3 & 4.To gain better sense of the folding structure in this file, turn on the Show Calltip
option on the side panel, and then click on lines 1 through 10. The last line in the calltip will indicate the fold level for the current line.
Hello - Is there a binary DLL available for me to try out? I don't have a ready means of compiling c++.
On Sun, Jun 26, 2022 at 4:18 PM Shridhar Kumar @.***> wrote: