A Prettier plugin for formatting Slice (Ice) language files with a custom parser 'slice2json'. Current version 0.1.1 is experimental and lacks release cadence. It differentiates from general Prettier by targeting the niche Slice language used in ZeroC Ice. Requires Prettier to be installed as a peer dependency. Use only with .ice files and configure via overrides.
npm install prettier-plugin-sliceVerified import paths — ran on the pinned version, not inferred.
Formats a .ice file using the slice2json parser.
Ensure Prettier is installed and up to date.
Configure Prettier overrides to apply this plugin only to .ice files.
Run: yarn add --dev prettier-plugin-slice or npm install --save-dev prettier-plugin-slice
Add to .prettierrc: { "overrides": [{ "files": "*.ice", "options": { "parser": "slice2json" } }] }