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
Requests for Ruby Edit
7 posts
• Page 1 of 1
Requests for Ruby Edit
Hello!
I've spent now a lot of time with lerning ruby with FlowStone - And i realy like it
I also coded with som other languages - mostly VB6, VBA and C++ and the all come up this realy good solutions within the editor of the code.
This is no request to copy those solutions but i think they will make programming in Ruby more comfortable.
Popup list is i have written a "." (Dot) after any object. In VBA (Access) it looks like that if i'm editing a TextBox:
I'm using that realy often - And also i look often through the list to get a feeling, what i'm able to do this this object
Next one i'm usig verry verry often: Single-Step
For users that do not know: Every time i press F8 the next line will be executed. So i'm seeing whitch way the procedure takes. The Line that is executed next is marked like that: (AutoCAD VBA)
Next one i realy like here is that if i'm moving the curser to any variable with a String or any value a kind of curser-line appears and tells me the variable tat is stored to it: (AutoCAD VBA)
Also a "Stop at line" would be verry cool
Next would be a Line-Number - and If there is an error - the controll will tell the class and line where an error was done.
Would this be possible to see some of those things in future?
Best Regards,
C.Hackl
I've spent now a lot of time with lerning ruby with FlowStone - And i realy like it
I also coded with som other languages - mostly VB6, VBA and C++ and the all come up this realy good solutions within the editor of the code.
This is no request to copy those solutions but i think they will make programming in Ruby more comfortable.
Popup list is i have written a "." (Dot) after any object. In VBA (Access) it looks like that if i'm editing a TextBox:
I'm using that realy often - And also i look often through the list to get a feeling, what i'm able to do this this object
Next one i'm usig verry verry often: Single-Step
For users that do not know: Every time i press F8 the next line will be executed. So i'm seeing whitch way the procedure takes. The Line that is executed next is marked like that: (AutoCAD VBA)
Next one i realy like here is that if i'm moving the curser to any variable with a String or any value a kind of curser-line appears and tells me the variable tat is stored to it: (AutoCAD VBA)
Also a "Stop at line" would be verry cool
Next would be a Line-Number - and If there is an error - the controll will tell the class and line where an error was done.
Would this be possible to see some of those things in future?
Best Regards,
C.Hackl
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
-
chackl - Posts: 233
- Joined: Tue Aug 17, 2010 8:46 pm
- Location: Austria / Salzburg
Re: Requests for Ruby Edit
Webmatrix also cool:
Need my support for app development, website or custom scripts?
PM me if you are interested.
Experienced Java, J2EE, PHP, Javascript, Angular, Cloud Solutions developer.
PM me if you are interested.
Experienced Java, J2EE, PHP, Javascript, Angular, Cloud Solutions developer.
-
CoreStylerz - Posts: 327
- Joined: Sun Jan 22, 2012 2:19 am
- Location: italy
Re: Requests for Ruby Edit
you tried aptana(free) or rubymine (not free) also netbeans should do a good job?
after a quick search i think these are the most common ide`s for using ruby...
just writing the code inside there with all the ide features and copy / paste it after would be an easy and comfortable way to get features like this
but yes, some more features in the ruby module would be helpful, i want line numbers and better error infos too!
after a quick search i think these are the most common ide`s for using ruby...
just writing the code inside there with all the ide features and copy / paste it after would be an easy and comfortable way to get features like this
but yes, some more features in the ruby module would be helpful, i want line numbers and better error infos too!
-
Nubeat7 - Posts: 1347
- Joined: Sat Apr 14, 2012 9:59 am
- Location: Vienna
Re: Requests for Ruby Edit
Not just Ruby - even in SM, I always wanted some more useful de-bugging tools.
For example - a value viewer window, so that you can tag connectors or links anywhere in the schematic and see their values changing in real time, even when those parts of the schematic are not visible in the editing window.
But, yes line numbers and backtraces! It's not hard to do either. For example, I often end my "event" method like this...
...the 'backtrace' line shows a list of all the nested method calls leading up to the error (so long as the call started from an event, of course) - including a method name and line number for each step of the way (which I then have to go into NotePad++ to find, because that has the line numbers!).
Ruby's built in exception handling is exceptionally ( ) flexible, so it wouldn't be difficult to hook into it.
For example - a value viewer window, so that you can tag connectors or links anywhere in the schematic and see their values changing in real time, even when those parts of the schematic are not visible in the editing window.
But, yes line numbers and backtraces! It's not hard to do either. For example, I often end my "event" method like this...
- Code: Select all
def event(i,v,t)
# CODE #
rescue => error
watch "Error message",error.message
watch "Error trace",error.backtrace
raise error # Make sure that the error still stops the interpreter
end
...the 'backtrace' line shows a list of all the nested method calls leading up to the error (so long as the call started from an event, of course) - including a method name and line number for each step of the way (which I then have to go into NotePad++ to find, because that has the line numbers!).
Ruby's built in exception handling is exceptionally ( ) flexible, so it wouldn't be difficult to hook into it.
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: Requests for Ruby Edit
Not just Ruby - even in SM, I always wanted some more useful de-bugging tools.
For example - a value viewer window, so that you can tag connectors or links anywhere in the schematic and see their values changing in real time, even when those parts of the schematic are not visible in the editing window.
For example - a value viewer window, so that you can tag connectors or links anywhere in the schematic and see their values changing in real time, even when those parts of the schematic are not visible in the editing window.
- gul123
- Posts: 1
- Joined: Mon Oct 14, 2013 1:28 pm
Re: Requests for Ruby Edit
...and green primitive with (e) letter (like F, I, S for float/int/string), for simple expressions, like 1/7 or 2^0.5 or in^0.5 - things like that.
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: Requests for Ruby Edit
gul123 wrote::lol: Not just Ruby - even in SM, I always...
Always nice to hear that folks have found my optimised echo/delay modules so useful - I'm amazed that they have ported so well to BBcode!
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
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 56 guests