LeetCode SQL Autocomplete

通过 Monaco CompletionItemProvider API 注册表名/列名

Version vom 21.04.2026. Aktuellste Version

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Autor
linyisu
Bewertungen
0 0 0
Version
1.1.0
Erstellt am
21.04.2026
Letzte Aktualisierung
21.04.2026
Größe
10,9 KB
Lizenz
MIT
Wird angewandt auf

一个为力扣 SQL 题目的编辑器注入表名和列名的自动补全功能的插件。

功能

  • 自动从题目描述中获取表名和列名,注入编辑器提词框
  • 列名旁内联显示字段类型(如 intvarchar
  • 提示常用 MySQL 关键字;根据输入自动适配大小写
  • 同时支持 leetcode.cnleetcode.com

使用方法

打开任意力扣 SQL 题目,在编辑器中输入时,题目中的表名和列名会自动出现在补全列表中。