Skip to content

Conversation

@scnwwu
Copy link
Contributor

@scnwwu scnwwu commented Dec 2, 2024

Summary
Resolves #1299
We should not explicitly specify a general file icon so that VS Code can go with its default.
It honors user's File Icon Themes

Testing
See file icons in SAS Content and SAS Server same to VS Code Explorer view.

@scnwwu scnwwu requested a review from scottdover December 2, 2024 03:13
@scnwwu scnwwu added this to the 1.13.0 milestone Dec 2, 2024
break;
}
} else {
const extension = item.name.split(".").pop().toLowerCase();
Copy link
Contributor

Choose a reason for hiding this comment

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

Am I understanding correctly? By removing this case, we return undefined, and package.json basically dictates the icon for .sas extension files, right? (looking at

"icon": {
"dark": "icons/dark/sasProgramFileDark.svg",
"light": "icons/light/sasProgramFileLight.svg"
},
)

If this is accurate, this LGTM

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes correct

@enzhihpp enzhihpp assigned tianliang657 and unassigned enzhihpp Dec 9, 2024
@tianliang657 tianliang657 added testing-complete Complete the pull requests testing and removed verification-needed labels Dec 9, 2024
Copy link

@tianliang657 tianliang657 left a comment

Choose a reason for hiding this comment

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

This issue is fixed in the playpen sas extension, no other issues were found, so approving.
image

@scnwwu scnwwu merged commit dcabaa1 into sassoftware:main Dec 9, 2024
2 checks passed
@scnwwu scnwwu deleted the p-contenticon branch December 9, 2024 04:07
@tianliang657 tianliang657 added ready for release Code pushed, but not released in VS code marketplace yet and removed testing-complete Complete the pull requests testing labels Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for release Code pushed, but not released in VS code marketplace yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use VSCode Icons for other file types in SAS Server Files

4 participants