"include" plugin: default directory setting

"include" plugin: default directory setting - Сообщения

#1 Опубликовано: 04.04.2016 01:19:58
Mike Kaganski

Mike Kaganski

184 сообщений из 434 понравились пользователям.

Группа: User

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?
С уважением, Михаил Каганский
#2 Опубликовано: 04.04.2016 02:00:57
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

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.
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
Mike Kaganski 04.04.2016 02:18:00
#3 Опубликовано: 04.04.2016 02:19:45
Mike Kaganski

Mike Kaganski

184 сообщений из 434 понравились пользователям.

Группа: User

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!
С уважением, Михаил Каганский
#4 Опубликовано: 04.04.2016 03:11:11
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

Wrote

Btw, 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
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений