BoltKey last edited by BoltKey
Other languages (like php) have function parameters defined in php.xml (in the autoCompletion directory) like
<KeyWord name="array_push" func="yes"> <Overload retVal="int"> <Param name="array &array"/> <Param name="mixed var"/> <Param name="[mixed ...]"/> </Overload> </KeyWord>
<KeyWord name="protected" /> <KeyWord name="protocol" /> <KeyWord name="prototype" /> <KeyWord name="public" /> <KeyWord name="push" />
TroshinDV last edited by
вы можете клонировать репозитарий https://github.com/notepad-plus-plus/notepad-plus-plus
что-бы иметь возможности “autocompletion function parameters”.
PeterJones last edited by
Not yet. Somebody would have to go through the effort of adding those, and submitting an issue and Pull Request to the codebase, to try to get that implemented.
But as @TroshinDV says (translated)
you can clone the repository https://github.com/notepad-plus-plus/notepad-plus-plus
https://github.com/notepad-plus-plus/notepad-plus-plus / tree / master / PowerEditor / installer / APIs
to enable “autocompletion function parameters”.
So that’s the way you would do it, if you wanted to contribute your solution to the entire userbase. Clone, edit, submit issue, submit pull request linked to that issue.
For your own use, you don’t have the clone the repository. All you have to do is edit your local
TroshinDV last edited by TroshinDV
These api-files can serve as a base for built-in help for language methods. If someone thread will fill them in and make the interface in the form of a tree and a text field.
And I would make a plugin with this interface.
There is only one detail: not everyone understands English and it is desirable to distribute api files to directories with translations.
Like “Api \ ru”, “Api \ fr”, etc.