Tagged articles
syntax highlighting
18 articles · Page 1 of 1
Windows 11’s built‑in Notepad has become bloated and still lacks essential editing features such as syntax highlighting, line numbers, and code folding, while Notepad4, a modern C++ rewrite, restores those basics, adds CPU‑specific optimizations, multilingual support, and fast handling of large files.
AVX2C++Notepad4
0 likes · 6 min read

Tree-sitter is a high‑performance incremental parsing library that supports over 50 languages; the article explains its core features, typical use cases such as editor syntax highlighting and static analysis, and walks through a concrete multi‑language SQL extraction implementation in Java, Python, and XML.
JavaPythonSQL extraction
0 likes · 6 min read

Fish Shell, a user‑friendly interactive shell rewritten in Rust, offers out‑of‑the‑box features such as syntax highlighting, smart auto‑completion, web‑based configuration, and a simple scripting syntax, making it an attractive alternative for developers and operations engineers seeking a modern command‑line experience.
auto-completioncommand-linefish-shell
0 likes · 7 min read

This article demonstrates how to use the Lex lexical analyzer generator to build a minimal cat‑like utility by creating an empty rule file, then extends the technique to develop a simple SQL syntax highlighter with colorized output, explaining the role of %% separators, default rules, and compilation steps.
C++Tutorialcompiler-tools
0 likes · 9 min read

Java 18 adds the @snippet tag to JavaDoc, offering syntax‑highlighted, validated code examples, superior IDE support, and error checking compared to the older @code tag, making documentation clearer and more interactive for developers.
@snippetIDEJava
0 likes · 3 min read

The article introduces the bat command as an enhanced, syntax‑highlighting and automatically paginated alternative to cat, explains its key features such as Git integration and non‑printable‑character display, provides installation and usage instructions on Linux, and shows how to customize its themes.
Git-integrationLinuxbat
0 likes · 7 min read

This guide introduces the bat command—a powerful cat replacement that adds syntax highlighting, automatic paging, Git diff integration, non‑printable character display, and theme customization, showing how to install it on Linux and use its many features effectively.
Git-integrationbatcommand-line
0 likes · 6 min read

This article walks you through VSCode's language extension architecture, covering declarative and programmatic language features, syntax highlighting, snippets, and the Language Server Protocol, while providing practical code examples for creating powerful editor plugins.
Language Server ProtocolVSCodeextension development
0 likes · 26 min read


ByteFEAug 24, 2021 · Frontend Development
This article explains how VSCode implements code highlighting, tokenization, and advanced language features through declarative TextMate grammars, programmable language extensions, DocumentSemanticTokensProvider, the VSCode Language API, and the Language Server Protocol, illustrated with practical configuration examples and code snippets.
LSPSemantic TokensTextMate
0 likes · 20 min read

This article explains VS Code’s evolution from TextMate‑based syntax highlighting to the new Semantic Tokens Provider API, detailing performance improvements, underlying token encoding, and how language servers implement semantic highlighting for faster, more accurate code coloring.
Editor PerformanceLanguage Server ProtocolSemantic Tokens
0 likes · 14 min read

This guide explains why the standard cat command lacks syntax highlighting, introduces the ccat utility that adds colored output for many programming languages, and provides step‑by‑step installation instructions for Arch and other Linux distributions, along with practical usage examples and troubleshooting tips.
Linuxbashccat
0 likes · 6 min read

This guide walks you through installing Vim, enabling and disabling syntax highlighting, applying permanent color schemes, customizing highlight groups, and tailoring language-specific syntax, empowering you to transform Vim's default monochrome interface into a vibrant, personalized coding environment.
Editor ConfigurationVimcolor scheme
0 likes · 8 min read

This guide walks you through installing Vim, enabling and disabling syntax highlighting, switching and persisting color schemes, customizing highlight groups, and tailoring language‑specific highlighting, all with clear commands and visual examples for a richer editing workflow.
Editor Configurationcolor schemesyntax highlighting
0 likes · 8 min read


ITPUBSep 12, 2019 · Fundamentals
This guide walks you through installing Vim, checking its version, creating a sample script, enabling and disabling syntax highlighting, permanently configuring color schemes via .vimrc, exploring built‑in color schemes, and customizing highlight groups for any language.
.vimrccolor schemecustomization
0 likes · 9 min read

This guide walks you through installing Vim, checking its version, creating sample scripts, toggling syntax highlighting, permanently configuring .vimrc, switching and customizing color schemes, applying language‑specific syntax, and defining custom highlight groups for a richer editing experience.
color schemedevelopment fundamentalseditor customization
0 likes · 7 min read

PrettyPrinter is a Python 3.6+ library that leverages an advanced layout algorithm to provide syntax‑highlighted, highly customizable pretty‑printing, surpassing built‑in __repr__, pprint, and other third‑party tools while offering a simple descriptive API for developers.
Development Toolscode formattingpretty-printing
0 likes · 8 min read

After choosing a blogging platform, this guide recommends essential tools—Typora for markdown editing, ProcessOn for diagram creation, 外链工厂 for image hosting, and highlight.js for code syntax highlighting—explaining their features, official sites, and why they improve the blogging workflow.
Image HostingToolsblogging
0 likes · 5 min read


ITPUBApr 8, 2016 · Frontend Development
This article explains how entering a specially crafted data:text/html URI in the browser address bar creates a temporary, editable HTML page, and shows multiple community extensions that add syntax highlighting, theming, and custom behaviors using Ace editor and other tricks.
Ace editorbrowsercontenteditable
0 likes · 6 min read
