microsoft / vscode-makecode

A vscode.dev compatible extension for Microsoft MakeCode
MIT License
36 stars 6 forks source link

Unable to recognize commands and get command suggestions in `main.py` when using `vscode-makecode` extension #162

Open Shen-Ming-Hong opened 1 year ago

Shen-Ming-Hong commented 1 year ago

Describe the issue: I recently installed the vscode-makecode extension in Visual Studio Code and started working on a main.py file. However, I've encountered an issue where the extension does not seem to recognize the commands from certain modules. Furthermore, I'm unable to see which commands are available for use, even though the code runs successfully. The absence of command suggestions or autocomplete features is proving to be quite challenging.

Here's what I've tried so far to resolve the issue:

  1. I verified that my Python environment in VS Code is set up correctly.
  2. I've attempted to search for a Python package named makecode to install, but it appears that such a package does not exist.
  3. I've checked the settings of the vscode-makecode extension and everything seems to be set up correctly.
  4. I made sure that both my VS Code and the vscode-makecode extension are up-to-date.

Unfortunately, none of these steps have resolved the issue.

image

Additional context:

I would appreciate any assistance you could provide on this issue.

abchatra commented 1 year ago

@Shen-Ming-Hong unfortunately we only support typescript in this extension today. We will be working on python next. Thanks for the support.

abchatra commented 1 year ago

@riknoll fyi

Shen-Ming-Hong commented 1 year ago

@abchatra It's great to hear that you have the intention to support Python in the future! I am a teacher of children's programming education, and I have always hoped to incorporate this project into my students' learning so that they can learn while having fun. Currently, we are using VScode as the main IDE for teaching Python to children. I would love for them to use Python to play MakeCode Arcade, but the official website's support for Python text prompts is not very clear and can easily cause inconvenience in student learning. Looking forward to your future development and thank you very much for responding.