Last active
June 2, 2020 15:43
-
-
Save ricardopedias/c9bd58d4b3e68cea826ba7996b1ba9d5 to your computer and use it in GitHub Desktop.
Gedit PHP Suggest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# gera um arquilo contendo todas as funções do PHP | |
echo $(php -r 'echo implode("\n", get_defined_functions()["internal"]);') | sed 's/ /\n/g' > /tmp/phpref; | |
# abre o arquivo para o gedit encontrar todas as funções | |
gedit /tmp/phpref; | |
# volta para o arquivo atualmente em edição | |
gedit $GEDIT_CURRENT_DOCUMENT_PATH; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment