dotfiles

My dotfiles
git clone git://pcardensab.com/dotfiles
Log | Files | Refs | Submodules | README

inline.md (668B)


      1 ---
      2 description: Inline a referenced function implementation at its call site
      3 argument-hint: "<target-file> <source-file>"
      4 ---
      5 In `$1`, replace the target function call with its implementation inline at the call site.
      6 
      7 Use `$2` as the sole source of truth for the implementation. Locate the relevant function in that file and transplant its logic directly into the target file.
      8 
      9 Requirements:
     10 - Adapt function parameters to the variables already available at the call site.
     11 - Add only the imports or qualified references required for the inline code to run.
     12 - Do not search for or use another implementation.
     13 - Report the files and exact region changed when finished.