You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I love your extension! I have also tried Calculate from Andrew Carreiro which is a similar idea. I prefer how Mathpad shows the results in real time without having to select the expression and run a command, but I would like to be able to use Mathpad on new, non-markdown, files and I would also like to be able to disable it when I am editing a markdown file. Do you have any idea how those changes could be made?
The text was updated successfully, but these errors were encountered:
Good question, I'm not sure that it would be feasible to toggle on a per-file basis, but it might be possible to have a list of file extensions where you can add and remove things from. This complicates extension activation though, since right now the extension doesn't get loaded until you open a Markdown file, for performance.
What I was thinking was doing something like how Calculate does it. It contributes two commands ("calculate" and "calculate and replace"). You select the expression to calculate and use those commands to run the calculator. I was thinking it would be nice to replace those commands with something like "enable" and "disable". Mathpad would be disabled by default and if I want it to start evaluating expressions I would run the enable command which would enable calculations regardless of file type. I can add the commands easy enough, but looking at the code I can't see how I would actually cause Mathpad to enable or disable.
I love your extension! I have also tried Calculate from Andrew Carreiro which is a similar idea. I prefer how Mathpad shows the results in real time without having to select the expression and run a command, but I would like to be able to use Mathpad on new, non-markdown, files and I would also like to be able to disable it when I am editing a markdown file. Do you have any idea how those changes could be made?
The text was updated successfully, but these errors were encountered: