You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create the default project only when it is necessary.
- Default project is configured with a (default) JRE, that will produce
unwanted symbols when other projects don't use the default JRE
- Place default project creation logic into the invisible project
importer since that is the importer requiring it
- Continue to support some special cases where default project should be
created (eg. Maven/Gradle project & opening a standalone file)
- Update testcases & add a testcase
Signed-off-by: Roland Grunberg <[email protected]>
@@ -246,6 +250,18 @@ public void testInvalidRuntime() throws Exception {
246
250
assertEquals("Invalid runtime for " + runtime.getName() + ": 'bin' should be removed from the path (" + runtime.getPath() + ").", notification.getMessage());
Copy file name to clipboardExpand all lines: org.eclipse.jdt.ls.tests/src/org/eclipse/jdt/ls/core/internal/filesystem/GradleProjectMetadataFileTest.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -121,7 +121,7 @@ public void testMetadataFileLocation2() throws Exception {
Copy file name to clipboardExpand all lines: org.eclipse.jdt.ls.tests/src/org/eclipse/jdt/ls/core/internal/filesystem/MavenProjectMetadataFileTest.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ public void testMetadataFileSync() throws Exception {
Copy file name to clipboardExpand all lines: org.eclipse.jdt.ls.tests/src/org/eclipse/jdt/ls/core/internal/handlers/NavigateToDefinitionHandlerTest.java
+1-2
Original file line number
Diff line number
Diff line change
@@ -44,14 +44,12 @@ public class NavigateToDefinitionHandlerTest extends AbstractProjectsManagerBase
Copy file name to clipboardExpand all lines: org.eclipse.jdt.ls.tests/src/org/eclipse/jdt/ls/core/internal/managers/AbstractProjectsManagerBasedTest.java
0 commit comments