Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete non-functional. #286

Open
krishnansarkar opened this issue Jun 25, 2024 · 2 comments
Open

Autocomplete non-functional. #286

krishnansarkar opened this issue Jun 25, 2024 · 2 comments

Comments

@krishnansarkar
Copy link

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.
@rvanasa
Copy link
Contributor

rvanasa commented Jun 25, 2024

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.

@krishnansarkar
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants