Skip to content

Commit

Permalink
Filter unused/noisy types from code completion (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
rzblue authored Dec 16, 2024
1 parent 78c7b5e commit e6cf42c
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 3 deletions.
20 changes: 19 additions & 1 deletion vscode-wpilib/resources/gradle/java/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,23 @@
},
],
"java.test.defaultConfig": "WPIlibUnitTests",
"java.import.gradle.annotationProcessing.enabled": false
"java.import.gradle.annotationProcessing.enabled": false,
"java.completion.filteredTypes": [
"java.awt.*",
"com.sun.*",
"sun.*",
"jdk.*",
"org.graalvm.*",
"io.micrometer.shaded.*",
"java.beans.*",
"java.util.Base64.*",
"java.util.Timer",
"java.sql.*",
"javax.swing.*",
"javax.management.*",
"javax.smartcardio.*",
"edu.wpi.first.math.proto.*",
"edu.wpi.first.math.**.proto.*",
"edu.wpi.first.math.**.struct.*",
]
}
20 changes: 19 additions & 1 deletion vscode-wpilib/resources/gradle/javaromi/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,23 @@
},
],
"java.test.defaultConfig": "WPIlibUnitTests",
"java.import.gradle.annotationProcessing.enabled": false
"java.import.gradle.annotationProcessing.enabled": false,
"java.completion.filteredTypes": [
"java.awt.*",
"com.sun.*",
"sun.*",
"jdk.*",
"org.graalvm.*",
"io.micrometer.shaded.*",
"java.beans.*",
"java.util.Base64.*",
"java.util.Timer",
"java.sql.*",
"javax.swing.*",
"javax.management.*",
"javax.smartcardio.*",
"edu.wpi.first.math.proto.*",
"edu.wpi.first.math.**.proto.*",
"edu.wpi.first.math.**.struct.*",
]
}
20 changes: 19 additions & 1 deletion vscode-wpilib/resources/gradle/javaxrp/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,23 @@
},
],
"java.test.defaultConfig": "WPIlibUnitTests",
"java.import.gradle.annotationProcessing.enabled": false
"java.import.gradle.annotationProcessing.enabled": false,
"java.completion.filteredTypes": [
"java.awt.*",
"com.sun.*",
"sun.*",
"jdk.*",
"org.graalvm.*",
"io.micrometer.shaded.*",
"java.beans.*",
"java.util.Base64.*",
"java.util.Timer",
"java.sql.*",
"javax.swing.*",
"javax.management.*",
"javax.smartcardio.*",
"edu.wpi.first.math.proto.*",
"edu.wpi.first.math.**.proto.*",
"edu.wpi.first.math.**.struct.*",
]
}

0 comments on commit e6cf42c

Please sign in to comment.