microsoft / microsoft/pxt-microbit

Autocomplete should be ignored in comments

Open
#4,264 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

intellisense P2 python
Dominant language
TypeScript
Stars
804
Forks
721
Avg merge
2d 9h
Merged PRs (30d)
2

Description

Typing a comment brings up autocomplete suggestions for code which does not seem useful

Pressing space instead of return can overcome this, but it is not good practice to add extra spaces on lines

https://user-images.githubusercontent.com/31242877/124723028-85a45480-df02-11eb-990a-212a342f7820.mp4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the editor by typing a comment and observing the autocomplete suggestions, including the space-versus-return behavior described in the report. Trace the editor's autocomplete handling to determine where comment context is available; done means code suggestions no longer appear while typing comments and normal autocomplete still works elsewhere.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.