# Parameter auto-complete for SWI-Prolog?

**URL:** <https://swi-prolog.discourse.group/t/parameter-auto-complete-for-swi-prolog/932>\
**Category:** Help!\
**Created:** [July 9, 2019, 2:01am UTC](https://swi-prolog.discourse.group/t/parameter-auto-complete-for-swi-prolog/932 "2019-07-09T02:01:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![prodog](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@prodog](https://swi-prolog.discourse.group/u/prodog)\
**Post date:** [July 9, 2019, 2:01am UTC](https://swi-prolog.discourse.group/t/parameter-auto-complete-for-swi-prolog/932/1 "2019-07-09T02:01:14Z")

</div>

I’m using: SWI-Prolog version 8.1.9 on Windows 8.1.

My editor of choice for editing Prolog source is Notepad++. Does anyone know if there is a plug-in that will give you the same functionality some of the commercial code editors do? For example, when editing Javascript with JetBrain’s WebStorm IDE, after I type the open paren for a function name, an overlay window shows me the parameter list for the function and the help text for that parameter. As I move through the parameters, the window updates to show me the help info for the current parameter.

Is there anything like this for Prolog and Notepad++?

If not, has anyone come up with a trick or tip to emulate this? My app has gotten fairly large now and I find myself frequently jumping between predicates and the predicates that call them to remember the parameter names for the callee function.

---

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Post date:** [July 9, 2019, 10:55am UTC](https://swi-prolog.discourse.group/t/parameter-auto-complete-for-swi-prolog/932/2 "2019-07-09T10:55:28Z")

</div>

The extension [VSC-Prolog](https://marketplace.visualstudio.com/items?itemName=arthurwang.vsc-prolog) to [Visual Studio Code](https://code.visualstudio.com/) has these features and I do use the extension daily, but the features you seek do not currently work with my install. Maybe it is just me not using it correctly but have a look, you may get it to work.

EDIT

Just did the monthly upgrade of VSC and now it is working.

 ![image](https://global.discourse-cdn.com/free1/uploads/swiprolog/original/1X/9f50535acfe201cfb3c28436dd73b19a43e7f372.png)

---

<div class="post-metadata">

**Author:** ![prodog](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@prodog](https://swi-prolog.discourse.group/u/prodog)\
**Post date:** [July 9, 2019, 12:44pm UTC](https://swi-prolog.discourse.group/t/parameter-auto-complete-for-swi-prolog/932/3 "2019-07-09T12:44:04Z")

</div>

Thanks Eric. Are you running VSCode on Windows or Linux, would you mind giving me your O/S version that you’re running VS Code on?

---

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Post date:** [July 9, 2019, 1:00pm UTC](https://swi-prolog.discourse.group/t/parameter-auto-complete-for-swi-prolog/932/4 "2019-07-09T13:00:58Z")

</div>

> [@prodog](#):
>
> Are you running VSCode on Windows or Linux

Windows 10

From command prompt header

`Microsoft Windows [Version 10.0.17134.829]`
