php-show-arglist for built-in PHP functions
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
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 :
- this file is a shell-generated output which does not contains the PHP functions' arguments
- 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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di emacs-php/php-mode
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
Tutte le issue di emacs-php/php-mode
Issue simili
-
area/install-update P2 tool/browser type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
NousResearch/hermes-agent#122356 · 2 commenti ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
hackbot
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
-
⚡️ Performance: [no-misused-promises] computes void-returning parameters for calls with no arguments Apertapackage: eslint-plugin performance spam:exempt
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
typescript-eslint/typescript-eslint#12922 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100