tgrosinger / advanced-tables-obsidian

Improved table navigation, formatting, and manipulation in Obsidian.md
GNU General Public License v3.0
2.15k stars 80 forks source link

Feature Request: Add buttons & Obsidian commands to prefill formulas #213

Open Prometheus720 opened 2 years ago

Prometheus720 commented 2 years ago

For example, <!-- TBLFM: @>$2=sum(@I..@-1) --> is rather hard to remember for a beginner, and for more advanced users it is time consuming to type/repeat. I suggest placing a button(s) in your Advanced Tables Toolbar that can prefill:

  1. The simplest step would be to create a blank template like and place user cursor directly in between the two spaces.
  2. When that is accomplished, prefill the cell cursor is placed in within the formula and simply leave us to explain what the source data is and what functions to execute on it.
  3. When that is accomplished, it may be useful to have different buttons/commands to prefill the sum and mean functions (and any new functions, or perhaps a conditional template).