Skip to main content
Coding Theme

996M2 引擎开发助手 (Rust LSP)

Publisher: ChuCIThemes in package: 1

专为 996 引擎量身打造的开发利器:基于 Rust 高性能语言服务器,秒级段落标签跳转、全工程引用查找、实时错误诊断、Hero经典排版一键格式化、段落/控制块双层代码折叠、全套语法分类色彩自定义(支持实时热生效)、内置【Hero 经典进阶·护眼微调版】高对比舒适配色、989条 M2 命令补全与 Lua API 集成

VS Code preview

Full workbench mockup using this variant's colors and tokenColors.

src
components
fetchUser.ts
User
tags
export interface User {
  id: string;
  name: string;
  role: "admin" | "member";
  tags: string[];
}

/**
 * Fetch user data by ID
 * @param id
 * @returns User object or null if ID is invalid
 */
export async function fetchUser(id: string): Promise<User | null> {
  if (!id) {
    return null;
  }

  const response = await fetch(`/api/users/${id}`, {
    method: "GET",
    headers: { Accept: "application/json" },
  });

  if (!response.ok) {
    throw new Error(`HTTP ${response.status}`);
  }

  return (await response.json()) as User;
}

function greet(user: User): string {
  // Simple greeting function that uses the user's name
  return `Hello, ${user.name}!`;
}
WSL
1 1
main*
Copilot
Ln 5, Col 12
Spaces: 2
UTF-8
LF
TypeScript
996 M2 Hero Style (经典高对比)

colors

Workbench UI color keys from the theme JSON colors map.

keyHEXRGBRGBA
editor.background
editor.foreground
editor.lineHighlightBackground
editorCursor.foreground
editorHoverWidget.background
editorHoverWidget.border
editorHoverWidget.foreground
editorHoverWidget.statusBarBackground
editorIndentGuide.activeBackground
editorIndentGuide.background
editorLineNumber.activeForeground
editorLineNumber.foreground
textCodeBlock.background

tokenColors

Foregrounds this theme assigns to the token scope catalog. A rule with only a font style is skipped, and a longer matching scope wins. Italic and bold rules are not listed — the preview above shows them in the code.

scopeHEXRGBRGBA
comment
comment.block
comment.block.documentation
comment.line
constant
constant.numeric
constant.numeric.integer
constant.numeric.float
constant.numeric.hex
constant.numeric.octal
constant.other
entity
entity.name
entity.name.function
entity.name.tag
entity.name.type
entity.name.type.enum
entity.name.type.interface
entity.name.type.struct
entity.other
entity.other.attribute-name
keyword
keyword.control
keyword.control.flow
keyword.operator
keyword.operator.logical
keyword.other
punctuation.definition.comment
storage
storage.modifier
storage.type
string
string.interpolated
string.other
string.quoted
string.quoted.double
string.quoted.other
string.quoted.single
string.quoted.triple
string.regexp
string.template
string.unquoted
support
support.class
support.function
support.type
support.type.primitive
support.type.property-name
variable
variable.language
variable.name
variable.other
variable.other.property
variable.parameter