microsoft / microsoft/TypeScript-Sublime-Plugin

Nonword characters should trigger autocomplete

Open
#183 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement
Dominant language
JavaScript
Stars
1.7k
Forks
236
Avg merge
21d 13h
Merged PRs (30d)
1

Description

Users shouldn't be required to hit tab/enter to autocomplete. Text should be autocompleted when you hit a nonword character (e.g. ".", "<>", "[]", "{}", "()"). For example, typing “document.bo” followed by a period should autocomplete to “document.body”.

Visual Studio supports this for C#. In VS, you can get this feature by unchecking the “Only use tab or enter to commit” checkbox in the intellisense options. It would be great to also have this functionality for TypeScript in Sublime.

Contributor guide

No contributing guide indexed for this repository

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

The issue names no files, entry points, or tests. Start by locating the plugin's completion-commit handling and inspect how nonword characters are currently processed. Done means that characters such as periods, brackets, braces, and parentheses commit the selected TypeScript completion without requiring Tab or Enter, including the document.bo example.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.