Trouble with Github VSCode Autocomplete

Hello,

Whenever I open my Github in VSCode and try working from there, none of the autocomplete functionality is there.

For example if I try to type . at the end of a line of code to see a list of possible options, it doesn’t show anything.

Is there a way to fix this?

1 Like

Might try this:

Here are the error messages I keep getting
Could not run phased build action using connection to Gradle distribution ‘https://services.gradle.org/distributions/gradle-7.3.3-bin.zip’.
org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project ‘TimedFullRobot’.
A problem occurred configuring root project ‘TimedFullRobot’.
Could not resolve all files for configuration ‘:classpath’.
Could not resolve edu.wpi.first:native-utils:2022.7.1.
Required by:
project : > edu.wpi.first.GradleRIO:edu.wpi.first.GradleRIO.gradle.plugin:2022.2.1 > edu.wpi.first:GradleRIO:2022.2.1
No matching variant of edu.wpi.first:native-utils:2022.7.1 was found. The consumer was configured to find a runtime of a library compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute ‘org.gradle.plugin.api-version’ with value ‘7.3.3’ but:

  • Variant ‘apiElements’ capability edu.wpi.first:native-utils:2022.7.1 declares a library, packaged as a jar, and its dependencies declared externally:
    • Incompatible because this component declares an API of a component compatible with Java 11 and the consumer needed a runtime of a component compatible with Java 8
    • Other compatible attribute:
      • Doesn’t say anything about org.gradle.plugin.api-version (required ‘7.3.3’)
  • Variant ‘runtimeElements’ capability edu.wpi.first:native-utils:2022.7.1 declares a runtime of a library, packaged as a jar, and its dependencies declared externally:
    • Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8
    • Other compatible attribute:
      • Doesn’t say anything about org.gradle.plugin.api-version (required ‘7.3.3’)

How did you install VS Code? I’m guessing that you didn’t use the WPILib installer. The error message says it’s running with Java 8, but it needs to be run with Java 11.

I tried doing it in the WPI VS Code and it still won’t work. IntelliSense in the GitHub extension won’t work for some reason.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.