Skip to content

Conversation

andxu
Copy link
Contributor

@andxu andxu commented Nov 12, 2018

#79

result.add(jarNode);
}
} else if (root instanceof IFile) {
IFile file = (IFile) root;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formatting problem...

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);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Format is not consistent


protected get iconPath(): ThemeIcon {
return ThemeIcon.Folder;
return ExplorerNode.resolveIconPath("packagefolder");
Copy link
Contributor

@yaohaizh yaohaizh Nov 13, 2018

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.
yaohaizh
yaohaizh previously approved these changes Nov 14, 2018
@andxu andxu merged commit a7ae942 into master Nov 14, 2018
@andxu andxu deleted the andy_resource branch November 14, 2018 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants