Skip to content

superolmo/BigFiles

Repository files navigation

BigFiles

Notepad++ Plugin for reading large files

Compiling

Solution has been developed in Visual Studio 2019 with Windows XP compatibity x86 and x64

How to install using PluginAdmin

  1. Select in the main window top menu Plugins->PluginAdmin...
  2. Scroll to "BigFiles - Open Very Large Files"
  3. Select and Install

How to install manually

  1. Download the BigFiles.dll file for your specific platform and Notepad++ version
  2. Open Notepad++ as Administrator
  3. Select in the main window top menu Settings->Import->Import Plugin(s)
  4. Select the file BigFiles.dll At this point it should be installed in Notepad++ plugin subfolder.

How to use it

  1. Open Notepad++
  2. Select in the main window top menu Plugins->BigFiles->Open BigFile or from the toolbar
  3. Select file you want to open. Make sure it is a text file
  4. Use ALT+LEFT_ARROW and ALT+RIGHT_ARROW to change page backward and forward respectively
  5. Use ALT+UP_ARROW and ALT+DOWN_ARROW to jump to start or end of the file

Structure

The plugin is developed based on the Plugin template from Don Ho at https://github.com/npp-plugins/plugintemplate Big files are read using a small customizable 100kB per page. No files are kept open. An internal structure keeps track of page number for every file opened by the plugin.

Minimum Scope of Work

  1. Plugin must be able to preview very large files in Notepad++ independent of the language (Multi-Byte)
  2. Plugin must be able to move viewable page changing page backward or forward, and to jump to start or end

Current Version Change Log

  • Fixed Error on closing bug
  • Fixed reloading of updated configuration without restarting Notepad++

Future Work v0.2.0.0

  • Add settings dialog and bigfiles.ini for changing page size
  • Improve classification of file type [Text, Binary, ZIP, PDF, etc.] and activate Hex-Editor if it is installed
  • Open sequence of files. Ex: data1.csv + data2.csv + etc.
  • Search for regex in the file by auto forwarding to next page
  • (Maybe) Change behaviour when moving from page to page in a text file to truncate at \n\r.

Helping URLs