godotengine/emacs-gdscript-mode

Rewrite gdscript-imenu to provide GDScript-specific tables

开放

#89 创建于 2020年9月8日

 (0 条评论) (0 个反应) (0 位负责人)Emacs Lisp (41 个派生)auto 404
enhancementgood first issuerefactor

仓库指标

星标
 (395 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

While we have imenu support, it's based on the built-in Python package and not tailored to GDScript, creating tables that are useful but that also have incorrectly sorted or formatted entries at times. For instance, signals get labeled as "Structs".

Tasks:

  • Correctly label functions, variables, and inner classes.
  • Add support for optional type hints, at least for functions. We need a regexp that captures -> type. It'd be nice to have for variables too but with inferred types we're a bit limited.

贡献者指南