microsoft / microsoft/vscode-java-pack

"Reload projects" doesn't do anything

Open
#1,139 3 comments 0 reactions 2 assignees View on GitHub

@jdneo is already working on this.

Since Feb 8, 2023.

ai-triaged bug reliability
Dominant language
TypeScript
Stars
352
Forks
166
Avg merge
17h 47m
Merged PRs (30d)
32

Description

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()
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.