If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Code Snippet Manager
11 posts
• Page 1 of 2 • 1, 2
Code Snippet Manager
Here's a simple Code snippet manager.
At the moment its got 2 modules (40 x code each), one set up for ruby, the other dsp.
Easy to expand it....or change it to suit.
This version lives in your toolbox....so the downside is after editing it, you have to
delete the "old" manager in the toolbox before you pack the edited version away.
I did build another that saved/loaded from file, run as exe in the background,
but the toolbox version seemed more practical.
@Support
Any chance you guys can build something like this into FS.
At the moment its got 2 modules (40 x code each), one set up for ruby, the other dsp.
Easy to expand it....or change it to suit.
This version lives in your toolbox....so the downside is after editing it, you have to
delete the "old" manager in the toolbox before you pack the edited version away.
I did build another that saved/loaded from file, run as exe in the background,
but the toolbox version seemed more practical.
@Support
Any chance you guys can build something like this into FS.
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
Re: Code Snippet Manager
Nice idea.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: Code Snippet Manager
This is a really good idea and nice design Billv.
Keeping track of, or remembering a piece of code will definitely benefit from this.
Big THANKS for sharing !
Keeping track of, or remembering a piece of code will definitely benefit from this.
Big THANKS for sharing !
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: Code Snippet Manager
Good idea - " brain in the bag". Sometimes I forgot how to do something even if I done it before. This will refresh my memories . I have added som basic ruby array stuff.
- Attachments
-
- Code Snippett Manager.fsm
- (59.28 KiB) Downloaded 1321 times
-
TrojakEW - Posts: 111
- Joined: Sat Dec 25, 2010 10:12 am
- Location: Slovakia
Re: Code Snippet Manager
Missed this first time around - lovely bit of work Billy.
I tend to use an external editor myself (my eyes just don't like the dark text/ light background combo of FS editors!), but this is a great idea for those little bits of code that get used all the time.
If you ever want to add any stuff out of my posts, feel free - it would be great to start collecting things into a little "Ruby toolkit".
I tend to use an external editor myself (my eyes just don't like the dark text/ light background combo of FS editors!), but this is a great idea for those little bits of code that get used all the time.
If you ever want to add any stuff out of my posts, feel free - it would be great to start collecting things into a little "Ruby toolkit".
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: Code Snippet Manager
TrojakEW wrote:Good idea -
Yeh...but hopefully DSPR will come to the rescue and do it better.
It needs "syntax"....if we could see the code in all its glory..
would be great...especially for learners like me...
And having to switch from edit to view is really annoying..i hate that part..
but it was the best compromise i saw...cause i failed to modify the edit box + scrollbar
into one unit....
But I love the "speed" of it, so for me I'm finding it better than running a dedicated program
like Notepad++ at the same time, and having to "load" what i want all the time...
I think chances are good on "DSPR re-design and implementation into FS"
How hard could it be....
And they don't have to go the whole way to start off....
they could always start very simple...then slowly update...
Come on' @support....ruby is a beast...help us manage it properly....
EDIT:
Thanks trog.....great to see your face again...
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
Re: Code Snippet Manager
billv wrote:..great to see your face again...
Dammit - could have sworn I disabled my laptop's web-cam, the CIA might have been watching me all this time! he he!
Yes, I agree - now that the Ruby/VST problem seems to be fixed, it would be nice to see Ruby get some better editing and de-bugging control. Couple of things I'd like to see in particular...
- Better error messages - Ruby is able to provide a full stack trace with line numbers whenever an error is raised - it would be nice to see this!
- Proper reset for when the "excess processing" fuse kicks in - having to save, reload, and then go around turning all the Ruby editors back on is a real PITA!
- Some way to prioritise parsing order for the Ruby edits. I've been making new classes etc. quite a bit, and it's rather tricky making sure that they load in the right order so that dependencies are honoured.
Still, your good work is appreciated - better to provide a working example to point the direction than just to sit and moan!
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: Code Snippet Manager
trogluddite wrote: billv wrote:..great to see your face again...
Dammit - could have sworn I disabled my laptop's web-cam, the CIA might have been watching me all this time! he he!
I thought your avatar was your real face.. : ...... ..
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
Re: Code Snippet Manager
billv wrote:I thought your avatar was your real face.. :
He he - massively photoshopped to make me look more beautiful!
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: Code Snippet Manager
Hey...i find i still sometimes revert to other way of filing things away....
putting lots of ruby coded components in one module, drop in toolbox...
very quick way to work......no syntax issues like the snippet manager...
putting lots of ruby coded components in one module, drop in toolbox...
very quick way to work......no syntax issues like the snippet manager...
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
11 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: Google [Bot] and 15 guests