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.

貢獻者指南