vscode-motoko icon indicating copy to clipboard operation
vscode-motoko copied to clipboard

Autocomplete non-functional.

Open krishnansarkar opened this issue 1 year ago • 2 comments

Issue Autocomplete does not work.

Steps to reproduce

OS: Windows 11 + WSL. Motoko plugin version: v0.16.4 DFX version: 0.20.1

  1. Connect VSCode to WSL.
  2. Open terminal.
  3. Create a new project with dfx new.
  4. Choose motoko for backend, anything for frontend, and no extra features.
  5. Open folder in VSCode.
  6. Paste the following code in main.mo:
import List "mo:base/List";

actor Bug {
  var testList = List.nil<Text>();

  testList.
};
  1. Try to get autocomplete to work with testList.

krishnansarkar avatar Jun 25 '24 02:06 krishnansarkar

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.

rvanasa avatar Jun 25 '24 15:06 rvanasa

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.

krishnansarkar avatar Jun 25 '24 17:06 krishnansarkar