-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
show resource files in src\main\resources #89
Conversation
@@ -329,6 +330,11 @@ | |||
if (jarNode != null) { | |||
result.add(jarNode); | |||
} | |||
} else if (root instanceof IFile) { | |||
IFile file = (IFile) root; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Formatting problem...
@@ -337,7 +355,7 @@ | |||
|
|||
private static PackageNode getJarEntryResource(JarEntryResource resource) { | |||
if (resource instanceof JarEntryDirectory) { | |||
return new PackageNode(resource.getName(), resource.getFullPath().toPortableString(), NodeKind.Folder); | |||
return new PackageNode(resource.getName(), resource.getFullPath().toPortableString(), NodeKind.FOLDER); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Format is not consistent
src/views/folderNode.ts
Outdated
@@ -33,6 +33,6 @@ export class FolderNode extends DataNode { | |||
} | |||
|
|||
protected get iconPath(): ThemeIcon { | |||
return ThemeIcon.Folder; | |||
return ExplorerNode.resolveIconPath("packagefolder"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should use the ThemeIcon.Folder which is the VSCode provided. To keep consistent with UI. The packagefolder is for packaging only.
2. Display folders under IPackageFragmentRoot 3. Change the different display name according to normal resource folders and package folders.
2. Provide sync to .class files
#79