Skip to content
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

Merged
merged 8 commits into from
Nov 14, 2018
Merged

show resource files in src\main\resources #89

merged 8 commits into from
Nov 14, 2018

Conversation

andxu
Copy link
Contributor

@andxu andxu commented Nov 12, 2018

#79

@@ -329,6 +330,11 @@
if (jarNode != null) {
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...

@@ -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);
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

@@ -33,6 +33,6 @@ export class FolderNode extends DataNode {
}

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