Skip to content

Code completion: Use fully qualified name as needed in DEBUG CONSOLE - #504

Merged
Jinbo Wang (testforstephen) merged 1 commit into
microsoft:mainfrom
testforstephen:jinbo_completion
Aug 15, 2023
Merged

Jinbo Wang (testforstephen) merged 1 commit into
microsoft:mainfrom
testforstephen:jinbo_completion

Conversation

@testforstephen

Copy link
Copy Markdown
Contributor

Fixes microsoft/vscode-java-debug#1246

Before:

  • Always use the simple name and eval will fail due to unresolved type.
old_behavior_in_debug_console.mp4

New:

  • For the imported types or types from sample package, use the simple name
  • For the unimported types, use the fully qualified name
use_fqn_in_debug_console.mp4

@jdneo Sheng Chen (jdneo) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@testforstephen
Jinbo Wang (testforstephen) merged commit 0e03327 into microsoft:main Aug 15, 2023
@testforstephen
Jinbo Wang (testforstephen) deleted the jinbo_completion branch August 15, 2023 04:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Classes are not automatically imported in the "Debug Console"

2 participants