Macro in Editor

Discuss all feature requests you have for a new Servoy versions here. Make sure to be clear about what you want, provide an example and indicate how important the feature is for you

Macro in Editor

Postby Riccardino » Wed May 10, 2006 11:12 am

Before filing a request, I'd like to hear what you think about having a sort of macro recorder in the editor where to store frequent method steps (like dialogs or queries etc.).

Your opinions?
ciao, ric
User avatar
Riccardino
 
Posts: 911
Joined: Thu Apr 24, 2003 11:42 am
Location: Ferrara, Italy

Postby ROCLASI » Thu May 11, 2006 4:53 pm

A Glossary feature like BBEdit would be nice.
This is a place where you manage your code snippits. Very nice.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Postby grahamg » Thu May 11, 2006 6:31 pm

If you are using Windows worth looking at InfoStore - http://www.mhsoftware.co.uk/infostore.htm. Only costs US$19 but very useful for storing & organising code snippets, gotcha's, screenshot pics etc.


Graham Greensall
Worxinfo Ltd
grahamg
 
Posts: 752
Joined: Fri Oct 03, 2003 3:15 pm
Location: Midlands UK

Postby ngervasi » Fri May 12, 2006 11:57 am

It would be very handy, thumbs up!
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Postby Riccardino » Fri May 12, 2006 3:00 pm

grahamg wrote:If you are using Windows worth looking at InfoStore - http://www.mhsoftware.co.uk/infostore.htm. Only costs US$19 but very useful for storing & organising code snippets, gotcha's, screenshot pics etc.


Seems nice, but I develop on Mac. :wink:
ciao, ric
User avatar
Riccardino
 
Posts: 911
Joined: Thu Apr 24, 2003 11:42 am
Location: Ferrara, Italy

Postby Rene » Sun May 21, 2006 9:38 pm

Hello Guys,

I also find myself with several developers open copying code from one solution to another.

Great idea to create a library of codes, so for the time being I just created a small solution in wich I can store my code snippets and other data. And it is multi platform.

If somebody wants to use it feel free to download it.
Please let me know if this is usefull.
If so I will develop it further.
Any bug reports or ideas can be sent to me by e-mail.

Some ideas eg
- Multi user (so you can share code snippets with other groups of users or keep them private) implemented in version 1.0
- Remark field so you can add remarks/reminders or to do`s related to the data implemented in version 03
- It could also be placed on a server so anyone can access the same data.

Hope this helps us enjoy Servoy even more

Kind Regards Rene

Last Updated on 02-07-06 22:05 version 1.0 see readme for changes
Attachments
Data_Library_1.0.zip
Data_Library_1.0
(1.21 MiB) Downloaded 293 times
Last edited by Rene on Sun Jul 02, 2006 10:19 pm, edited 5 times in total.
Rene
 
Posts: 121
Joined: Sat Dec 27, 2003 1:33 pm
Location: Venhorst, The Netherlands

Postby bcusick » Thu May 25, 2006 6:29 pm

Excellent idea, Renee.

Here's another idea (that I use myself): I create a module called "coreFunctions" and then I can put ALL my common code in there and use in ALL my solutions.

It's really been a huge timesaver!

Hope this helps.
Bob Cusick
bcusick
 
Posts: 1255
Joined: Wed Apr 23, 2003 11:27 pm
Location: Thousand Oaks, CA USA

Postby IT2Be » Thu May 25, 2006 7:00 pm

Great idea... Hmmm... Now that I think of it I created the very first Servoy plugin for that :)
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Postby bcusick » Thu May 25, 2006 7:47 pm

Yes - it was (and IS) an EXCELLENT plug-in!

I have all kinds of functions in there - getting the display value of an item in a valuelist, testing if a string is within an array and returning the position, handling all error & info dialogs, returning an array of all the fields on a form (named or unnamed), generic export to excel of foundset on any form, etc., etc.
Bob Cusick
bcusick
 
Posts: 1255
Joined: Wed Apr 23, 2003 11:27 pm
Location: Thousand Oaks, CA USA

Postby amason » Thu May 25, 2006 7:57 pm

Mac users:

I use a little app called "Textepander" for macros. Works great.

So, for example, when I type

ddbm

into the method editor, it automatically returns:

dataset = databaseManager.getDataSetByQuery(controller.getServerName(), query, null, 1000)

http://www.smileonmymac.com/textexpander/
amason
 
Posts: 138
Joined: Mon Jan 16, 2006 12:12 am

Postby Riccardino » Thu May 25, 2006 9:00 pm

bcusick wrote:Excellent idea, Renee.

Here's another idea (that I use myself): I create a module called "coreFunctions" and then I can put ALL my common code in there and use in ALL my solutions.

It's really been a huge timesaver!

Hope this helps.


It does, indeed. I created my own library when modules appeared on Servoy universe and I also use your coreFunctions :-)

But what I meant was something where to store generic code snippets like pre-formatted for cycles, queries with getDatasetByQuery and so on...
ciao, ric
User avatar
Riccardino
 
Posts: 911
Joined: Thu Apr 24, 2003 11:42 am
Location: Ferrara, Italy

Postby Riccardino » Thu May 25, 2006 9:02 pm

amason wrote:Mac users:

I use a little app called "Textepander" for macros. Works great.

So, for example, when I type

ddbm

into the method editor, it automatically returns:

dataset = databaseManager.getDataSetByQuery(controller.getServerName(), query, null, 1000)

http://www.smileonmymac.com/textexpander/


Excellent suggestion. I'll give it a look.
ciao, ric
User avatar
Riccardino
 
Posts: 911
Joined: Thu Apr 24, 2003 11:42 am
Location: Ferrara, Italy

Postby Rene » Thu May 25, 2006 10:21 pm

New Download added(version 03)


Data Library,

Function:
Store random data and or code snippits in a categorized way.


Revision history: version 03 25-05-06
Solved When in search mode and the search windows closes without pressing enter of F3 the search stays open and the solution needs to be reopend
Solved When in search window the formInDialog needs to be set as is also done in edit window. Find function redesigned.
Solved When in category window the formInDialog needs to be set as is also done in edit window. Edit function redesigned.
Changed Change Tooltip of Find button from "Enter search request" into "Start search request"
Added Remark field so you can add remarks/reminders or to do`s related to the data.


Featurelist:
- Multi user (so you can share code snippits with other groups of users or keep them private).
- User documentation.

Kind regards Rene
Last edited by Rene on Sun Jul 02, 2006 10:24 pm, edited 1 time in total.
Rene
 
Posts: 121
Joined: Sat Dec 27, 2003 1:33 pm
Location: Venhorst, The Netherlands

Postby Rene » Sun Jul 02, 2006 10:04 pm

New Download added (version 1.0)

Data Library,

Function:
Store random data and or code snippits in a categorized way and add information to this data.


Revision history: version 1.0 02-07-06
Added Multi user (so you can share code snippits with other groups of users or keep them private).
Added User documentation.


Featurelist:

Kind regards Rene
Rene
 
Posts: 121
Joined: Sat Dec 27, 2003 1:33 pm
Location: Venhorst, The Netherlands


Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 3 guests