# Files editor

## How to install

* [Download Visual Studio Code (vs-code)](https://code.visualstudio.com/download)
* [Download the extension here](https://marketplace.visualstudio.com/items?itemName=LoneDev.ia-vscode)

### Preview

<div align="left"><figure><img src="https://2228257718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faipc4QQKwVS0w1Q604ya%2Fuploads%2Fgit-blob-a3ee4740c3f504dcd727190fa30c9bc22cf3984e%2Fimage%20(12)%20(1).png?alt=media" alt="" width="397"><figcaption></figcaption></figure></div>

### How to enable the descriptions on fields/suggestions

<figure><img src="https://2228257718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faipc4QQKwVS0w1Q604ya%2Fuploads%2Fgit-blob-699c736224f8df2755a512d887368ea820eb405b%2Fimage%20(1)%20(1)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

## FTP

Download the FTP VSCode extension [from here](https://marketplace.visualstudio.com/items?itemName=Natizyskunk.sftp).

Create an empty folder anywhere on your PC, for example in the `Downloads` folder.\
This folder will contain a copy of your server files which will be synced on each saving.\
For example `remote_itemsadder_contents`.

Press `CTRL+SHIFT+P` and run **Config**.

<figure><img src="https://2228257718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faipc4QQKwVS0w1Q604ya%2Fuploads%2Fgit-blob-fd340f849ed465c362a1da00691756a852e5671f%2Fimage%20(89).png?alt=media" alt=""><figcaption></figcaption></figure>

Change `host`, `port`, `username` and `password` (and `protocol` if needed).\
`uploadOnSave` allows you to automatically upload the files on saving.

```json
{
    "name": "My Server",
    "host": "eux1.humbleservers.com",
    "protocol": "sftp",
    "port": 2022,
    "username": "username",
    "password": "password",
    "remotePath": "/plugins/ItemsAdder/",
    "uploadOnSave": true,
    "useTempFile": false,
    "openSsh": false
}
```

Press `CTRL+SHIFT+P` and run **Download Project**.

<figure><img src="https://2228257718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Faipc4QQKwVS0w1Q604ya%2Fuploads%2Fgit-blob-4420f34154891ed421c8ff1e982eda9e6b6b734c%2Fimage%20(98).png?alt=media" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://itemsadder.devs.beer/japanese/plugin-usage/beginners/files-editor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
