V2EX  ›  英汉词典

Syntax Highlighting

释义 Definition

语法高亮:在代码编辑器、IDE 或网页中,用不同颜色/字体样式区分关键字、字符串、注释、函数名等语法元素,以提高代码可读性并减少错误。

例句 Examples

Syntax highlighting makes code easier to read.
语法高亮让代码更容易阅读。

With syntax highlighting enabled, the editor clearly distinguishes keywords, strings, and comments, which helps beginners spot mistakes faster.
开启语法高亮后,编辑器会清楚地区分关键字、字符串和注释,帮助初学者更快发现错误。

发音 Pronunciation (IPA)

/ˈsɪn.tæks ˈhaɪˌlaɪ.tɪŋ/

词源 Etymology

syntax 来自希腊语 syntaxis,意为“排列、结构、句法”;highlighting 来自 highlight(“突出显示、强调”),原指用亮色标记重点。合起来表示“把语法结构用颜色等方式突出显示”的功能与做法。

相关词 Related Words

文学与著作中的用例 Literary Works

  • The Pragmatic Programmer(Andrew Hunt, David Thomas)
  • Code Complete(Steve McConnell)
  • Clean Code(Robert C. Martin)
  • Learning Python(Mark Lutz)
  • Eloquent JavaScript(Marijn Haverbeke)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1726 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 08:05 · PVG 16:05 · LAX 00:05 · JFK 03:05
♥ Do have faith in what you're doing.