#2181: Merge VSCodium plugins folder to VSCode - #2195
Conversation
Coverage Report for CI Build 30462283487Coverage increased (+0.02%) to 72.611%Details
Uncovered ChangesNo uncovered changes found. Coverage Regressions18 previously-covered lines in 3 files lost coverage.
Coverage Stats💛 - Coveralls |
hohwille
left a comment
There was a problem hiding this comment.
@samuelkos17 just as a first quick feedback while this is still in team review:
I very much like your idea of the excluded-editions property as CSV.
This is a very generic solution idea that can be useful for any kind of IDE and perfectly helps us for the current use-case to exclude some plugins from VSCodium. 👍
There was a problem hiding this comment.
Thanks for your work! Nice, clean solution. I added some comments with some suggested changes, most of them being rather aesthetic. Also, you can create a PR in ide-settings to remove the vscodium plugins folder as well and link it to this PR.
Co-authored-by: Laert Llaveshi <llaveshilaert@gmail.com>
Thanks for the review @laert-ll . I've did the clean up and added a test for the CSV parsing as you suggested |
This PR fixes #2181
Implemented changes:
excluded-editionsin the.propertiesof plugins that can be set with a list of comma-separated names of versions of IDEs. To make this change future-proof the filter for the new property is implemented in theinstallPlugins()-method of thePluginBasedCommandlet-class. This means that it can be used for other IDEs besides VSCode and VSCodium.excludedEditionsto theToolPluginDescriptor-record matching the new property of the pluginsgetPluginsConfigPath()-method of theVscode-class so that both VSCodium and VSCode share the same folder for the plugins. However to guarantee backward-compatibility, the method can optionally be changed so that if 'settings/vscodium/plugins/' exists and 'settings/vscode/plugings/' has no VSCodium-specific overrides the plugins in VSCodium directory are installed instead.VscodeTest.java.Testing instructions
Please add conscise, understandable instructions on how a reviewer can test/verify the functionality of your contribution here:
Checklist for this PR
Make sure everything is checked before merging this PR. For further info please also see
our DoD.
mvn clean testlocally all tests pass and build is successful#«issue-id»: «brief summary»(e.g.#921: fixed setup.bat). If no issue ID exists, title only.In Progressand assigned to you or there is no issue (might happen for very small PRs)with
internal