godotengine/emacs-gdscript-mode

Rewrite gdscript-imenu to provide GDScript-specific tables

Ouverte

#89 ouverte le 8 sept. 2020

 (0 commentaire) (0 réaction) (0 personne assignée)Emacs Lisp (41 forks)auto 404
enhancementgood first issuerefactor

Métriques du dépôt

Stars
 (395 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur