Tagged articles
18 articles
Page 1 of 1

Getting Started with Tree-sitter: High‑Performance Code Parsing and Multi‑Language SQL Extraction

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
Getting Started with Tree-sitter: High‑Performance Code Parsing and Multi‑Language SQL Extraction
Efficient Ops
Efficient Ops
Apr 9, 2025 · Fundamentals

Why Fish Shell Is the Friendly, Feature‑Rich Command Line You Should Try

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.

Scriptingauto-completioncommand-line
0 likes · 7 min read
Why Fish Shell Is the Friendly, Feature‑Rich Command Line You Should Try
IT Services Circle
IT Services Circle
May 17, 2024 · Fundamentals

Using Lex to Build a Simple cat‑Like Utility and an SQL Syntax Highlighter

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.

CTutorialcompiler-tools
0 likes · 9 min read
Using Lex to Build a Simple cat‑Like Utility and an SQL Syntax Highlighter
ByteFE
ByteFE
Aug 24, 2021 · Frontend Development

Understanding VSCode Syntax Highlighting and Language Extension Mechanisms

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
Understanding VSCode Syntax Highlighting and Language Extension Mechanisms
Taobao Frontend Technology
Taobao Frontend Technology
Mar 19, 2021 · Frontend Development

How VS Code’s Semantic Tokens API Boosts Syntax Highlighting Performance

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
How VS Code’s Semantic Tokens API Boosts Syntax Highlighting Performance
Liangxu Linux
Liangxu Linux
Jul 14, 2020 · Fundamentals

How to Install and Use ccat for Colorized cat Output on Linux

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.

BashInstallationLinux
0 likes · 6 min read
How to Install and Use ccat for Colorized cat Output on Linux
Python Crawling & Data Mining
Python Crawling & Data Mining
Dec 22, 2019 · Fundamentals

Master Vim Syntax Highlighting: From Basics to Custom Color Schemes

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
Master Vim Syntax Highlighting: From Basics to Custom Color Schemes
ITPUB
ITPUB
Sep 12, 2019 · Fundamentals

Master Vim Syntax Highlighting: Enable, Customize, and Persist Color Schemes

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
Master Vim Syntax Highlighting: Enable, Customize, and Persist Color Schemes
Liangxu Linux
Liangxu Linux
Sep 11, 2019 · Fundamentals

Master Vim Syntax Highlighting: Enable, Customize, and Persist Color Schemes

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
Master Vim Syntax Highlighting: Enable, Customize, and Persist Color Schemes
MaGe Linux Operations
MaGe Linux Operations
Mar 30, 2018 · Fundamentals

Boost Python Readability: Inside the Powerful PrettyPrinter Library

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.

Code Formattingdevelopment-toolspretty-printing
0 likes · 8 min read
Boost Python Readability: Inside the Powerful PrettyPrinter Library
Programmer DD
Programmer DD
Oct 18, 2017 · Fundamentals

Key Tools for Fast Blog Creation: Markdown, Diagrams, Image Hosting, Highlighting

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.

DiagramImage Hostingblogging
0 likes · 5 min read
Key Tools for Fast Blog Creation: Markdown, Diagrams, Image Hosting, Highlighting
ITPUB
ITPUB
Apr 8, 2016 · Frontend Development

Turn Your Browser into a Live HTML Editor with a Simple Data URI Trick

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
Turn Your Browser into a Live HTML Editor with a Simple Data URI Trick