Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
425 views
in Technique[技术] by (71.8m points)

windows - 文本编辑器打开大(巨型,巨大,大)文本文件(Text editor to open big (giant, huge, large) text files [closed])

I mean 100+ MB big;

(我的意思是100+ MB大;)

such text files can push the envelope of editors.

(这样的文本文件可以推挤编辑人员的范围。)

I need to look through a large XML file, but cannot if the editor is buggy.

(我需要浏览一个大的XML文件,但是如果编辑器有错误,则无法浏览。)

Any suggestions?

(有什么建议么?)

  ask by community wiki translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

VS Code (Windows, macOS, Linux) - Free and Open Source with a nice GUI.

(VS Code (Windows,macOS,Linux)-具有漂亮GUI的免费和开放源代码。)

Edited a 3.6 GB JSON file, loaded in a minute.

(编辑了一个3.6 GB的JSON文件,只需一分钟即可加载。)

You must have enough RAM to load the files.

(您必须有足够的RAM才能加载文件。)

Free read-only viewers:

(免费的只读查看器:)

  • glogg (Windows, macOS, Linux) – Confirmed to handle multi-GB files.

    (glogg (Windows,macOS,Linux)–已确认可处理多GB文件。)

    Its main feature is regular expression search.

    (它的主要功能是正则表达式搜索。)

    Has tabs, reads files directly from disk, can watch/follow files, and allows user to mark lines.

    (具有选项卡,可以直接从磁盘读取文件,可以监视/关注文件,并允许用户标记行。)

  • LogExpert (Windows) – "A GUI replacement for tail ."

    (LogExpert (Windows)–“ GUI替代tail 。”)

    Supports file following, searching, filtering, configurable highlighting, plugins, and external tools.

    (支持文件跟踪,搜索,过滤,可配置的突出显示,插件和外部工具。)

  • Large Text File Viewer (Windows) – Minimalist and has very small executable size.

    (大文本文件查看器 (Windows)–极简主义,可执行文件很小。)

    Supports split view, text theme customization, regex search, and file following.

    (支持拆分视图,文本主题自定义,正则表达式搜索和文件关注。)

  • Lister (Windows) – Even more small and minimalist.

    (Lister (Windows)–更加小巧和简约。)

    It's one executable, barely 500 KB, but it still supports searching (with regexes), printing, a hex editor mode, and settings.

    (它是一个可执行文件,只有500 KB,但仍支持搜索(使用正则表达式),打印,十六进制编辑器模式和设置。)

  • loxx (Windows) – Supports following, highlighting, line numbers, huge files, regex, multiple files and views and much more.

    (loxx (Windows)–支持以下,突出显示,行号,大文件,正则表达式,多个文件和视图等等。)

    The free version has some limitations.

    (免费版本有一些限制。)

Free editors:

(免费编辑:)

  • Vim and Emacs (Windows, macOS, Linux) – Classic Unix editors.

    (VimEmacs (Windows,macOS,Linux)–经典Unix编辑器。)

    Steep learning curve, but brutally efficient.

    (学习曲线陡峭,但效率很高。)

    They have settings that can be tuned to make them even faster.

    (它们的设置可以调整以使其更快。)

  • Large File Editor (Windows) – Opens and edits TB+ files, supports Unicode, uses little memory, has XML-specific features, and includes a binary mode.

    (大型文件编辑器 (Windows)–打开和编辑TB +文件,支持Unicode,使用很少的内存,具有XML特定的功能,并包括二进制模式。)

  • HxD (Windows) – A hex editor, not a text editor;

    (HxD (Windows)–十六进制编辑器,而不是文本编辑器;)

    but it's amazingly fast and useful.

    (但是它非常快而且有用。)

  • GigaEdit (Windows) – Supports searching, character statistics, and font customization.

    (GigaEdit (Windows)–支持搜索,字符统计和字体自定义。)

    But it's buggy – with large files, it only allows overwriting characters, not inserting them;

    (但这是有问题的–对于大文件,它仅允许覆盖字符,而不能插入字符;)

    it doesn't respect LF as a line terminator, only CRLF;

    (它不将LF视为行终止符,而仅将CRLF视为行终止符。)

    and it's slow.

    (而且很慢)

Builtin programs (no installation required):

(内置程序(无需安装):)

  • less (macOS, Linux) – The traditional Unix command-line pager tool.

    (less (macOS,Linux)–传统的Unix命令行传呼工具。)

    Lets you view text files of practically any size.

    (使您可以查看几乎任何大小的文本文件。)

    Can be installed on Windows, too.

    (也可以安装在Windows上。)

  • Notepad (Windows) – Decent with large files, especially with word wrap turned off.

    (记事本 (Windows)–较大的文件比较合适,尤其是在自动换行功能关闭的情况下。)

  • MORE (Windows) – This refers to the Windows MORE , not the Unix more .

    (MORE (Windows)–这是指Windows MORE ,而不是Unix more 。)

    A console program that allows you to view a file, one screen at a time.

    (一个控制台程序,使您可以一次查看一个屏幕的文件。)

Web viewers:

(网络浏览器:)

  • htmlpen.com – Can open and syntax-highlight TB+ files.

    (htmlpen.com –可以打开和语法突出显示TB +文件。)

    Allows editing, except for very large files.

    (允许编辑,但非常大的文件除外。)

    Supports searching, regexes, and exporting.

    (支持搜索,正则表达式和导出。)

  • readfileonline.com – Another HTML5 large file viewer.

    (readfileonline.com –另一个HTML5大文件查看器。)

    Supports search.

    (支持搜索。)

Paid editors:

(付费编辑:)

  • 010 Editor (Windows, macOS, Linux) – Opens giant (as much as 50 GB) files.

    (010编辑器 (Windows,macOS,Linux)–打开巨大的文件(多达50 GB)。)

  • SlickEdit (Windows, macOS, Linux) – Opens large files.

    (SlickEdit (Windows,macOS,Linux)–打开大文件。)

  • UltraEdit (Windows, macOS, Linux) – Opens files of more than 6 GB, but the configuration must be changed for this to be practical: Menu ? Advanced ? Configuration ? File Handling ? Temporary Files ? Open file without temp file...

    (UltraEdit (Windows,macOS,Linux)–打开大于6 GB的文件,但必须对其进行更改才能使其实用:菜单?高级?配置?文件处理?临时文件?打开不带临时文件的文件...)

  • EmEditor (Windows) – Handles very large text files nicely (officially up to 248 GB, but as much as 900 GB according to one report).

    (EmEditor (Windows)–很好地处理非常大的文本文件(官方最多可处理248 GB,但根据一份报告则可处理多达900 GB)。)

And finally, have you tried opening the large file with your regular editor?

(最后,您是否尝试过使用常规编辑器打开大文件?)

Some editors can actually handle reasonably large files.

(一些编辑器实际上可以处理相当大的文件。)

In particular, Notepad++ (Windows) and Sublime Text (Windows, macOS, Linux) support files in the 2 GB range.

(特别是, Notepad ++</s


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...