Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

php-show-arglist for built-in PHP functions

Aperta
#142 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
emacs, emacs-lisp, php
Ambito
tooling

Direzione di ricerca

Inizia tracciando php-show-arglist e il modo in cui è collegato a php-completion-file, show-arg-file e php-manual-path. Esamina gli etags esistenti e le assunzioni sulla documentazione PHP prima di decidere se sia possibile esporre i prototipi delle funzioni integrate. Il lavoro richiederebbe la definizione di un approccio per creare o utilizzare una sorgente PHP TAG integrata senza costi prestazionali inaccettabili.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

This could be seen as a documentation issue :
when using (php-show-arglist) on a PHP core function I'd expect to see it's prototype (what could be quicker than C-C C-F to browse www.php.net and often useful given the sometimes so strange order of PHP function's arguments).

But doing so bring up a "Visit tags table" prompt from what I deduce that the "php-completion-file" isn't used for (show-arg-file) since :

  1. this file is a shell-generated output which does not contains the PHP functions' arguments
  2. it's "not a valid tag file" (just plain-text)
    (php-show-arglist) does not seem to directly use "php-manual-path" neither.

Finally after looking at the code I went to think that (php-show-arglist) only applies to project-code for which a TAG file has been generated.

Thus my question is :

  • am I right when I think it's not currently possible or did I overlooked something ?
  • why no one has been interested in this up to now ?
  • has there been any attempt into converting the php-doc to etags parsable code in order to create a "built-in PHP TAG file" which could then be used by php-mode (php-show-arglist) ?

I don't know enough about etags to imagine and provide a PoF of the best/efficient way to do that (though I think it's feasible) neither I know if there is a huge performance penalty risk.

anyway, long-life php-mode !

Lingua principale
Emacs Lisp
Stelle
602
Fork
117
Merge medio
12h 54m
PR unite (30g)
3

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di emacs-php/php-mode

Tutte le issue di emacs-php/php-mode

Issue simili

Altre issue su DevTools

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.