microsoft / microsoft/vscode-java-pack

Code Completion Smartness Improvement

Aperta
#812 4 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@jdneo ci sta già lavorando.

Dal 19/11/2021.

ai-triaged code-completion enhancement
Lingua principale
TypeScript
Stelle
352
Fork
166
Merge medio
17h 47m
PR unite (30g)
32

Descrizione

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”

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.