Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline mikekaganski  
#1 Posted : 04 April 2016 07:19:58(UTC)
mikekaganski


Rank: Advanced Member

Groups: Registered
Joined: 17/01/2013(UTC)
Posts: 296
Man
Russian Federation
Location: Khabarovsk, Russia

Was thanked: 151 time(s) in 107 post(s)
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?

Edited by user 04 April 2016 13:32:56(UTC)  | Reason: Not specified

Best regards,
Mike Kaganski

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline uni  
#2 Posted : 04 April 2016 08:00:57(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
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
thanks 1 user thanked uni for this useful post.
on 04/04/2016(UTC)
Offline mikekaganski  
#3 Posted : 04 April 2016 08:19:45(UTC)
mikekaganski


Rank: Advanced Member

Groups: Registered
Joined: 17/01/2013(UTC)
Posts: 296
Man
Russian Federation
Location: Khabarovsk, Russia

Was thanked: 151 time(s) in 107 post(s)
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!
Best regards,
Mike Kaganski
Offline Davide Carpi  
#4 Posted : 04 April 2016 09:11:11(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Originally Posted by: mikekaganski Go to Quoted Post
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 consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.