Coding Phantom in VSCode or Cursor AI ===================================== In VSCode or Cursor there are several helpful settings when editing Phantom source files. After installing a modern Fortran extension, to enforce the indentation conventions in Phantom you should use `findent `_ as in the indentation engine: and pass it the same options as used in `the bots script `_: .. image:: ../images/vscode-findent-flags.png :width: 800 :alt: findent flags in VSCode and yes, you do have to type each flag in a separate box. Then it is useful to select the "format on save" option in Settings->Text Editor->Formatting: .. image:: ../images/vscode-format-on-save.png :width: 800 :alt: findent flags in VSCode Thanks to Yann Bernard for getting this working!