gtg922r / obsidian-numerals

An obsidian plugin which turns a math code block into a full featured calculator
Other
391 stars 8 forks source link

[feature request] Add autocompletion for functions and variables inside code block #15

Closed gtg922r closed 1 year ago

gtg922r commented 1 year ago

Users should be able to have autocomplete of Numerals functions and variables when inside a code block. This could be provided through either native Numerals support, or by adding the appropriate word list to another plugin (for example tth05/obsidian-completr: Auto-completion plugin for the obsidian editor.)

gtg922r commented 1 year ago

Initial implementation done (see aac0e4b3b00c8852e5b27a99fa4e955e448460c6, 329a5326e847a3541c61f5dc3720c785cb0b7fd2, etc). Need to complete some testing

gtg922r commented 1 year ago

Autocompletion is available in 1.0.8, which can be tested with BRAT.

Currently it's crash on mobile which is delaying roll-out

Archie-2021 commented 1 year ago

Users should be able to have autocomplete of Numerals functions and variables when inside a code block. This could be provided through either native Numerals support, or by adding the appropriate word list to another plugin (for example tth05/obsidian-completr: Auto-completion plugin for the obsidian editor.)

It is good idea , but I just installed latex-suite and snippets and auto-completion in that works very well, If this plugin use exact latex syntax (without dropping \) and Numerals Plugins gets activated in math code blocks it would be awesome and there would be no need for reinventing those features again.

mayurankv commented 1 year ago

Really agree with Archie, that would be a brilliant workflow!

gtg922r commented 1 year ago

Autocompletion included and launched in Numerals 1.2