ipm icon indicating copy to clipboard operation
ipm copied to clipboard

Ensure consistent code formatting style across entire codebase

Open isc-tleavitt opened this issue 1 year ago • 4 comments
trafficstars

There's a mix of styles right now from original / HS sources and subsequent work undertaken in the community repo. This persists in the v1 branch.

We need a systemic approach to consistent code formatting that is applied to the entire codebase (once the amount of things in flux amounts to significantly less than "the entire codebase").

isc-tleavitt avatar May 13 '24 12:05 isc-tleavitt

@isc-tleavitt I think it would be nice to have some sort of code formatting tool to do this (similar to prettier. Perhaps we could create a prettier plugin?). I see an enhancement request for this in the language server for this already: https://github.com/intersystems/language-server/issues/293.

isc-kiyer avatar May 13 '24 13:05 isc-kiyer

We have https://github.com/intersystems/isc-codetidy which runs server-side. I've used more client-centric dev patterns for IPM though and I think that's likely to be the more common pattern for contributors.

isc-tleavitt avatar May 13 '24 14:05 isc-tleavitt