1 страниц (4 вхождений)
"include" plugin: default directory setting - Сообщения
#1 Опубликовано: 04.04.2016 01:19:58
When using include plugin, it's sometimes inconvenient to use full paths, esp. when working on different setups. E.g., at work, I would like to have a network share with library files, which are included in a number of working files. At home, I would like to copy the whole library someplace at my PC, and continue to work with my workfiles.
Currently, I only can do it introducing some string path variable and setting it at each place. The proposal is to add a setting for include plugin, so that it's possible to setup a "library" (default location) path, and in case of relative paths in include(), look there.
Btw, is there in SMath an interface to add to settings dialog, or to Tools menu?
Currently, I only can do it introducing some string path variable and setting it at each place. The proposal is to add a setting for include plugin, so that it's possible to setup a "library" (default location) path, and in case of relative paths in include(), look there.
Btw, is there in SMath an interface to add to settings dialog, or to Tools menu?
С уважением,
Михаил Каганский
#2 Опубликовано: 04.04.2016 02:00:57
You can use relative paths but for the "\extensions\" directory only for now. You can download Linq.sm example from the gallery and use it with the command:
include("examples\Linq.sm" )=
I can change this behavior.
include("examples\Linq.sm" )=
I can change this behavior.
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
Mike Kaganski 04.04.2016 02:18:00
#3 Опубликовано: 04.04.2016 02:19:45
Oh, yes, you see, it's not convenient with \extensions\ as it is now. It wouldn't be great for any fixed directory, either, that's why I ask for customizable (at program level) directory, if possible.
Thank you!
Thank you!
С уважением,
Михаил Каганский
#4 Опубликовано: 04.04.2016 03:11:11
WroteBtw, is there in SMath an interface to add to settings dialog, or to Tools menu?
Nope, but it is possible to support the request of such feature here: (SS-70)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 страниц (4 вхождений)
-
Новые сообщения
-
Нет новых сообщений