vscode-motoko
vscode-motoko copied to clipboard
Autocomplete non-functional.
Issue Autocomplete does not work.
Steps to reproduce
OS: Windows 11 + WSL. Motoko plugin version: v0.16.4 DFX version: 0.20.1
- Connect VSCode to WSL.
- Open terminal.
- Create a new project with
dfx new. - Choose motoko for backend, anything for frontend, and no extra features.
- Open folder in VSCode.
- Paste the following code in main.mo:
import List "mo:base/List";
actor Bug {
var testList = List.nil<Text>();
testList.
};
- Try to get autocomplete to work with
testList.
Hi, thanks for opening the issue! The extension currently only supports local variable and import autocompletion (e.g. completing List or testList). We will increase the priority of this feature based on your feedback.
Ah okay, thank you. Yes this kind of support would be super useful; maybe my memory is just bad, but i wouldn't have to flip to the docs as often.