Formatting

Is there some way to format text to get indentation consistent?

I asked this in a MBS thread and got told to ask in a separate thread so I'm reassign here. The response was:

For the plugin you can use our Format button labeled ƒ in the calculation dialog.

But I don't see such a button (see screenshot below). If it exists can someone point to it for me? Or let me know another way to do it?

Thanks,

What version of the MBS plugin do you use? This button exists since version 13.5 if I'm not wrong.

See first line of this list:
https://www.mbsplugins.eu/filemaker/releasenotes135.shtml

I mean yes it works, and will probably give consistency, but how calculations are formatted is quite a personal preference and I find the MBS method just doesn't really work well for me when it comes to larger calculations, but give it a try and see how it works for you.

Thanks all. I have resisted upgrading for a while since my brain simply can't parse the directions so it always takes me an hour to do... but this might be enough to get me to do it. :slight_smile:

Please try v14.5.
We got an optimization to keep things like JSONSetElement calls with lots of parameters a bit more compact.

For complex calculations I use BBEdit. If you add the attached plist as a Language Model BBEdit will recognise FileMaker syntax and colour code it correctly. When I'm done I copy it back into the calculation editor.

For simple calculations I work directly in the calculation editor and make heavy use of option-tab to indent cleanly.

Filemaker.plist.zip (3.5 KB)

3 Likes

Got it! I had multiple copies installed and for some reason it lost my license, so I had to re-add the license, and then find the extra copies and remove them. All set now. Thank you for confirming this exists before I went through the steps. :slight_smile:

Maybe someday when I grow up I'll be a real developer, but for now I'm just a UX guy who uses a Mac and hacks some things together... lol.

1 Like