microsoft / microsoft/vscode-java-pack

"Reload projects" doesn't do anything

Offen
#1,139 3 Kommentare 0 Reaktionen 2 zugewiesene Personen Auf GitHub ansehen

@jdneo arbeitet bereits daran.

Seit 08.2.2023.

ai-triaged bug reliability
Vorherrschende Sprache
TypeScript
Sterne
352
Forks
166
Ø Merge
17 Std. 47 Min.
Gemergte PRs (30 T.)
32

Beschreibung

Hey, I have the problem that the "Reload projects" button in the build.gradle does do anything as you can see in the video:

https://user-images.githubusercontent.com/24459435/213462197-ae0215b5-24fb-45bf-9868-e1af54fc2a2c.mov

However, I have does bug only in the project. I also had the bug in another project. But I don't know anymore how I fixed it there...

Environment:

  • VS Code Version: v1.74.3
  • Extension Version: v0.25.7
  • JDK Type & Version: java 17.0.5 2022-10-18 LTS
  • OS Type & Version: macOS 12.6

Step to Reproduce:

  1. Change something in the build.gradle
  2. Click "Reload project"

Expected Behavior:
The build.gradle loads the dependencies.

Actual Behavior:
Nothing happens. No dependencies.

plugins {
	id 'application'
	id 'org.openjfx.javafxplugin' version '0.0.9'
}

apply plugin: 'java'
sourceCompatibility = 17
version = '1.0.0'
compileJava.options.encoding = 'UTF-8'


repositories {
    mavenCentral()
}

javafx {
	version = "17"
	modules = ['javafx.controls']
}

dependencies {
	implementation 'org.json:json:20220924'
    implementation 'org.apache.commons:commons-lang3:3.12.0'
    testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
    testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
    testImplementation 'org.junit.jupiter:junit-jupiter-params:5.9.1'
}

sourceSets {
    main {
        java {
            srcDir 'src'
        }
    }
    test {
        java {
            srcDirs = ['test']
        }
    }
}

test {
    useJUnitPlatform()
}

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.