Skip to content

About

Inspired by TextAnalysisTool.NET, implemented by Avalonia UI.

Resources

Stars

5 stars

Watchers

0 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation

About

Inspired by TextAnalysisTool.NET, implemented by Avalonia UI to support Windows/Mac/Linux. With some new faatures:

  1. Chart viewer
  2. Text viewer window which can format json or EoL
  3. Filter with logical operations (&& or ||)
  4. Hide empty lines
  5. OS theme adaptive

Build

Install dotnet 8.0 SDK.

Windows

Just use Visual Studio 2022 (or above) to open TextAnalyzer.sln and build.

Mac

  1. Open the folder which contains TextAnalyzer.csproj in VS Code.
  2. Press Cmd+Shift+B or click "Terminal"->"Run Build Task...", and then select "build".
  3. Run "sh ./Scripts/build_mac_specific_code.sh" once in terminal.

Deployment

Windows

Nothing special, just run the TextAnalyzer.exe.

You can also make it available in System context menu's "Open with" by "Choose another app".

Mac

  1. In VS Code, click "Terminal"->"Run Task...", select "publish x64|arm64".
  2. Run "sh ./Scripts/package_mac_app.sh [x86_64|arm64]" in terminal.
  3. Drag & drop the "Text Analyzer.app" in the "bin" folder to System "Applications".
  4. The app will be available in the "Open With" context menu for text files.
  5. If you want to sign the app, run "sh ./Scripts/sign_mac_app.sh [x86_64|arm64]" (change the developer ID to your own).
  6. 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.

Usage

  1. Open a text file by "Open with" or drag & drop to a running Text Analyzer app.
  2. Create some filters based on text or marker (Ctrl+1~9 or right click a text line to toggle the marker).
  3. You can toggle "Show Only Filtered Lines" (Ctrl+H) as needed.
  4. Press "a~z" or "F8" to locate next match of the corresponding filter.
  5. Move up/down the filters to change priority (drag & drop also works on Windows).
  6. Double click the text line to view in an independent window which supports "Find" and "Format" functions (context menu).
  7. Press "F5" to reload the text file.
  8. Save the filter ([Ctrl/Cmd]+Shift+S) for next time use.
  9. Check other usages from app menu or context menu.

About

Inspired by TextAnalysisTool.NET, implemented by Avalonia UI.

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages