microsoft / microsoft/vscode-java-pack

Code Completion Smartness Improvement

Open
#812 4 comments 0 reactions 1 assignee View on GitHub

@jdneo is already working on this.

Since Nov 19, 2021.

ai-triaged code-completion enhancement
Dominant language
TypeScript
Stars
352
Forks
166
Avg merge
17h 47m
Merged PRs (30d)
32

Description

Per survey feedback, I'm creating a mega issue for all code completion smartness improvements.

A few things that customers already ask:

Theme: existing commands from other products

  • - sout / syso : prints System.out.printIn()
  • - soutm: adds the current class and method names
  • - soutp: adds method parameter names and values
  • - soutv: adds the last variable value
  • - Sc -> Scanner

Theme: Provide better revelance when working in specific projects

  • - Java AWT packages missing when working on GUI applications
  • - Anything else that can improve the relevance

Theme: Code-sensitive code completion check

  • - Optimize for different cases of code blocks
  • - Don't display ElementScanner when user just types all lower case letters "else"

Theme: Enum case auto-generation

  • - Generate switch cases for all enum values

Theme: Array

  • - Auto complete code snippet int[n][n] - > new int[n][n]

Theme: Main function

  • - When user types public static void main, it shouldn't generate main function signature twice

Theme: Generic arguments

  • - More intelligent <> completion (such List<> )

Theme: Signature Help Improvement

  • - “When I calling a method, intellisense displays the parameters only ONE time. Basically, it displays the parameters, then as I start putting the values for those parameters, the parameters list disappears”

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.