Answer the question
In order to leave comments, you need to log in
Is there a text editor for large files with syntax highlighting?
I would like to find a lightweight alternative to sublime with the following gadgets
-Not on electronjs and not on java (not atom, not brackets, not vscode - I love vscode, but a lightweight solution is required)
-Not vim , not notepad++, not akelpad, not gedit (on windows it is it just devours one core into idle time, and I also didn’t understand how to search in it using regular expressions)
-Windows support
-Quick opening files > 100MB
-Autodetect encoding and resaving in a different encoding
-Understanding the last opened files.
- Unsaved changes to files should be remembered and restored after re-opening the file, if the date of its last modification remains the same
- Ability to open a binary file as text (like notepad ++)
-word wrap (wrap long lines)
-Minimum syntax highlighting (it is enough to highlight strings and keywords of languages - full highlighting is not required and even harmful)
-SQL syntax and log highlighting -Search
in a folder like notepad++
-Search in a file like sublime, but with a delay after entering a character (in sublime, searching for something in a large file is a pain, because the search starts before the end of the input and everything slows down)
-Ability to bind hot keys to any command
-Support for self-written plugins - language does not matter
Optional requirements
- Spellchecker
-Call a command by name (as in sublime)
-Launch external programs with cwd transfer of the current file (I can add it myself, probably)
-Sorting lines (I can add it myself)
-Remove duplicate lines (I can add it myself)
-Built-in change case https://www.npmjs.com/package/change-case (I can add it myself)
-Autoformat for js/json files (I can add it yourself)
UPD
A potential solution to the problem is to write your own based on https://www.scintilla.org/SciTEDownload.html , replacing the sql grammar with a more lightweight one, and adding other required goodies.
UPD
Closest in terms of requirements https://kate-editor.org/
Answer the question
In order to leave comments, you need to log in
Check out 010 Editor and Ultra edit, both are very productive, but not free.
I myself now use 010 Editor for large files, an excellent hex editor and there are many ready-made scripts and templates for different file formats.
Great lightweight logging solution
https://glogg.bonnefon.org/download.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question