# Autocomplete and documentation for "imported" p5js

**URL:** <https://discourse.processing.org/t/autocomplete-and-documentation-for-imported-p5js/31927>\
**Category:** Beginners\
**Created:** [August 25, 2021, 9:09pm UTC](https://discourse.processing.org/t/autocomplete-and-documentation-for-imported-p5js/31927 "2021-08-25T21:09:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [August 25, 2021, 9:30pm UTC](https://discourse.processing.org/t/autocomplete-and-documentation-for-imported-p5js/31927/2 "2021-08-25T21:30:09Z")

</div>

Hi @atcold,

Welcome to the forum! 😉

Since you are on VSCode, have you seen this p5js extension?

> **[p5.vscode - Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=samplavigne.p5-vscode)**
>
> Extension for Visual Studio Code - Create and manage p5.js projects.

It says:

> p5.vscode helps you create p5.js projects in Visual Studio Code. It also includes **autocompletion** , a simple tool to browse and install third-party p5 libraries, and the `Live Server` extension.

Also check this GitHub issue:

> <https://github.com/processing/p5.js/issues/1339>
>
> Hi ,
> 
> First of all I would like to say that P5 editor is great and easy to use. …The only one thing I am missing in P5 editor is intellisense. So, I try to run P5 project using Visual Studio Code. In VS Code for intellisense we need type script file i.e. tsd file for the js file for which we need intellisense. Since I couldn't found any P5 tsd files it is not helping much. Can you please look into this issue?

And also this:

> [@One-click p5js environment with intellisense](https://discourse.processing.org/t/one-click-p5js-environment-with-intellisense/13814):
>
> Hi all, I’m a teacher introducing p5 to beginning programmers. I didn’t want to walk students through a complicated editor setup, but I was finding myself a bit frustrated with the web editor and openprocessing editor because I’ve gotten very used to Intellisense (from Visual Studio Code) in my own p5 coding (I use p5 in typescript mode myself). If you don’t know what Intellisense is, it’s essentially a way to get documentation about functions and auto-completion automatically in an editor (I’m…

> **[@types/p5](https://www.npmjs.com/package/@types/p5)**
>
> TypeScript definitions for p5. Latest version: 1.7.4, last published: 21 days ago. Start using @types/p5 in your project by running \`npm i @types/p5\`. There are 36 other projects in the npm registry using @types/p5.

---

_[View the full topic](https://discourse.processing.org/t/autocomplete-and-documentation-for-imported-p5js/31927)._
