Inspired by TextAnalysisTool.NET, implemented by Avalonia UI to support Windows/Mac/Linux. With some new faatures:
- Chart viewer
- Text viewer window which can format json or EoL
- Filter with logical operations (&& or ||)
- Hide empty lines
- OS theme adaptive
Install dotnet 8.0 SDK.
Just use Visual Studio 2022 (or above) to open TextAnalyzer.sln and build.
- Open the folder which contains TextAnalyzer.csproj in VS Code.
- Press Cmd+Shift+B or click "Terminal"->"Run Build Task...", and then select "build".
- Run "sh ./Scripts/build_mac_specific_code.sh" once in terminal.
Nothing special, just run the TextAnalyzer.exe.
You can also make it available in System context menu's "Open with" by "Choose another app".
- In VS Code, click "Terminal"->"Run Task...", select "publish x64|arm64".
- Run "sh ./Scripts/package_mac_app.sh [x86_64|arm64]" in terminal.
- Drag & drop the "Text Analyzer.app" in the "bin" folder to System "Applications".
- The app will be available in the "Open With" context menu for text files.
- If you want to sign the app, run "sh ./Scripts/sign_mac_app.sh [x86_64|arm64]" (change the developer ID to your own).
- Note: If deployed the signed app to another Mac, it may still encounter security warnings, please follow system steps to allow the app to open.
- Open a text file by "Open with" or drag & drop to a running Text Analyzer app.
- Create some filters based on text or marker (Ctrl+1~9 or right click a text line to toggle the marker).
- You can toggle "Show Only Filtered Lines" (Ctrl+H) as needed.
- Press "a~z" or "F8" to locate next match of the corresponding filter.
- Move up/down the filters to change priority (drag & drop also works on Windows).
- Double click the text line to view in an independent window which supports "Find" and "Format" functions (context menu).
- Press "F5" to reload the text file.
- Save the filter ([Ctrl/Cmd]+Shift+S) for next time use.
- Check other usages from app menu or context menu.