question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Suggestions for java.awt not working

See original GitHub issue

I have seen those 2 topics: https://github.com/redhat-developer/vscode-java/issues/1096 https://github.com/redhat-developer/vscode-java/issues/1093

About adding:

"java.completion.filteredTypes" : [
        "java.awt.*",
        "com.sun.*"
    ],

But for me that is not working:

Screen Shot 2019-11-15 at 21 44 32

If I type it fully it works:

Screen Shot 2019-11-15 at 21 44 55
Environment
  • Operating System: OSX 10.12.6
  • JDK version: 1.8
  • Visual Studio Code version: 1.40.1
  • Java extension version: 0.53.0

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

9reactions
snjezacommented, Nov 15, 2019

Could you try the following:

"java.completion.filteredTypes" : [
        "java.awt.List",
        "com.sun.*"
    ],
Read more comments on GitHub >

github_iconTop Results From Across the Web

java - Eclipse Autocomplete not Working... Only for AWT?
Open your eclipse workspace preferences, type 'Type Filters' in the filterbox. You're looking for setting java > Appearance > Type Filters .
Read more >
AWT - Troubleshooting Guide for Java SE 7 Desktop ...
This document is a guide to help troubleshoot problems that might arise with applications that are deployed using the release of Java Platform, ......
Read more >
Eclipse quick fix doesn't show awt classes
I'm using jdk17 and eclipse 2021-09. When I hover over a class and the menu pops up it doesn't show and option for...
Read more >
How to fix package javax.swing is not accessible - YouTube
package javax.swing is not accessibleUnable to import javax.swing.JFramehow to import javax.swing in eclipsethe package javax is not ...
Read more >
PK43702: CONTROL KEYS WERE NOT WORKING ...
swing.JComponent.processKeyBindings(JComponent.java:2532) at javax.swing.JComponent.processKeyEvent(JComponent.java:2460) at java.awt.Component.processEvent( ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found