Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Pages: [1] 2 3  All

Author Topic: WME Visual Script Editor  (Read 25418 times)

0 Members and 1 Guest are viewing this topic.

Mac

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 136
    • View Profile
    • Homepage
WME Visual Script Editor
« on: October 13, 2005, 12:52:35 AM »

Hi all,

I wrote myself a little script editor for WME yesterday and of course I want to share it with the community. I wrote it because editors like UltraEdit and such are too much feature packed and too shitty for my personal needs.



Features:
- Simplicity  ;)
- Syntax highlighting
- Code block system (insert whole text blocks with a simple mouse click)
- Features all build-in WME methods, commands and keywords with parameters and short description - just double click a method and it pastes to your script (directly ripped out of the WME docs)
- Printing
- Quickhelp system

Not finished yet:
- Changeable printing color
- Block comment/Block uncomment
- Search in files

The current version is V0.7 (10/05/07):

http://mac-bs.de/bullsoft/download/WME_VSE.zip
http://mac-bs.de/bullsoft/download/WME_VSE.rar

Please write for suggestions, bugs and wishes.

Cheers
Mac
« Last Edit: October 06, 2007, 11:56:41 AM by Mac »
Logged

MMR

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 349
  • http://mmrdeveloper.wordpress.com/
    • View Profile
    • TinyWME
Re: WME Visual Script Editor
« Reply #1 on: October 13, 2005, 08:34:01 AM »

Wooooo GREAT! :D

Would be possible to implement some kind of "IntelliSense" ??
Logged

McCoy

  • The cocido eater
  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 365
  • Spurrrrrrring
    • View Profile
    • Spur Games
Re: WME Visual Script Editor
« Reply #2 on: October 13, 2005, 11:36:24 AM »

Great work!

But I find search & replace a basic feature, I think you should try to implement it as soon as possible.

Keep it up man!
Logged

Click here to sign my sig!

PoselSmrti

  • Guest
Re: WME Visual Script Editor
« Reply #3 on: October 13, 2005, 02:44:34 PM »

Hi Mac!

I have downloaded your editor, but i cant excract the files. WinZip has wrote me: no files to excract! :)
Logged

organican

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 74
    • View Profile
Re: WME Visual Script Editor
« Reply #4 on: October 13, 2005, 05:11:38 PM »

Nice!

But I'm not sure if it's my piece of cake.

You see, I do all my scripting in notepad. ;D

Maybe it's a little like what Spock said in that episode...

"I am endeavoring, ma'am, to construct a mnemonic memory circuit...using stone knives
and bearskins." - Spock in "The City on the Edge of Forever"

But maybe that's more like what Mnemonic is doing with the WME engine ;)

But back to the topic...
I've tried these kinds of programs in the past. And now I try this. And I have to say, that I just don't like all the colors. It's just looks too... messy for me.

I simply prefer Notepad's simplicity and clearness.

Am I the only one?
« Last Edit: October 13, 2005, 05:31:07 PM by organican »
Logged

McCoy

  • The cocido eater
  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 365
  • Spurrrrrrring
    • View Profile
    • Spur Games
Re: WME Visual Script Editor
« Reply #5 on: October 13, 2005, 06:31:03 PM »

I personally prefer syntax highligting. It makes it easier to locate a concrete section of code you're looking for just by scrolling the text and not paying too much attention, just by the colors.

I have to program assembler using MS-DOS edit because of university, and it's a pain in the ass. Once you get 1000 lines of codes is a nightmare to jump from section to section of code without colors.
Logged

Click here to sign my sig!

organican

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 74
    • View Profile
Re: WME Visual Script Editor
« Reply #6 on: October 13, 2005, 07:31:39 PM »

I personally prefer syntax highligting. It makes it easier to locate a concrete section of code you're looking for just by scrolling the text and not paying too much attention, just by the colors.

I have to program assembler using MS-DOS edit because of university, and it's a pain in the ass. Once you get 1000 lines of codes is a nightmare to jump from section to section of code without colors.

Ahhhh Edit...

*drools*

The ultimate word processor...

;)

But seriously, this is one of the things that WME does so well that we have to give Mnemonic credit for: how easy the code is to handle. You have total control of where everything is in WME, it's really great!
Logged

Mac

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 136
    • View Profile
    • Homepage
Re: WME Visual Script Editor
« Reply #7 on: October 13, 2005, 08:04:50 PM »

Hi,

@MMR:
A good idea. I implemented a thing that goes into the 'IntelliSense' direction. If the cursor is right of a '.' character it opens a listbox with WME methods to choose from. I think it will be usable tomorrow.

@McCoy:
Of course search and replace are very important. I will also implement the opportunity to replace only in the current selection (blockwise). Will be done tomorrow morning.

@organican
I used Notepad for all of the WME scripting until yesterday when I thought it would be nice to have the opportunity to implement whole code blocks with a mouseclick. Scripting became copying and pasting most of the time. And when I was happily coding I thought that code coloring would give it all a cleaner look. I never used any syntax highlighting before but I find it quite usefull. If you like to have your script plain black on white like in good ol' Notepad, you can disable the syntax highlighting in the 'Settings' window. But it saves you the quick code implementation and the method tooltips in the status bar.

Now I'm off to work on it a lil'.

Will post a new version soon.

Cheers
Mac
Logged

McCoy

  • The cocido eater
  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 365
  • Spurrrrrrring
    • View Profile
    • Spur Games
Re: WME Visual Script Editor
« Reply #8 on: October 14, 2005, 02:03:12 AM »

Hey Mac, try to implement also a "fins and replace in files" option if possible, I also use it a lot to update things a lot of different files in one go.
« Last Edit: October 14, 2005, 02:05:19 AM by McCoy »
Logged

Click here to sign my sig!

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: WME Visual Script Editor
« Reply #9 on: October 14, 2005, 12:20:16 PM »

Hi Mac, I'm writing the scripting reference in the form of simply formatted text files, which are then used to generate the HTML pages. The intention was to use these files also for code completion/call tips in script editors. Please consider using these files instead of ripping the HTML docs, they are easy to parse and they get updated with each WME release. I have a parser class too, but it's written in C# 2.0 so probably of no use to you.

http://dead-code.org/misc/wme_doc_src.zip
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Mac

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 136
    • View Profile
    • Homepage
Re: WME Visual Script Editor
« Reply #10 on: October 14, 2005, 01:59:56 PM »

Thanks Mnemonic,

the files are really easy to parse, of course I will change my parsing code to match it.

A new version is online with 'IntelliSense' like stuff and of course Find & Replace. Get it using the link in the first post.

PoselSmrti had problems with the zip-file so I uploaded a rar-file, too.

Mac
Logged

organican

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 74
    • View Profile
Re: WME Visual Script Editor
« Reply #11 on: October 14, 2005, 03:27:43 PM »

Okay, I turned off the colors. It looks much better. ;D

I played around a bit, learned how to make some of my regular code snippets automated. Really nice!

I might try this out some more and see if it's my cup o' tea after all.

Just a few small suggestions:
1. The icon... is horrible. The windows icon just looks really ugly. It's aestetically appalling. At least to me. Just a small thing.
2. Everytime I'm choosing "open file", the search path is always in "my documents". Why can't it be where I last opened a file?
And you can't "drag" a file into the WME visual script editor, from outside folders either. So this means some extra work for all us fellow scripters. Just a minor thing. But it would be nice with an custom option or an automatic memory of the last directory you've been in.
3. The font size. If you have a high resolution, it looks just a little small. And some people might have bad eye sight, as well. Maybe an option for the font size (10, 12, 14...)?
4. Possibly some other way to deal with the highlighting. Say, bold and italic, and underlined text. And possibly "glowed" (in a neutral color ;)).
I might be the only one who's hating the colors, so I guess this one is not that important.

Just a few suggestions that might imrove the program.

Great job so far. Keep up the good work.
Logged

Mac

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 136
    • View Profile
    • Homepage
Re: WME Visual Script Editor
« Reply #12 on: October 14, 2005, 08:33:48 PM »

Hi organican,

all four of your suggestion are nice, usefull and easy to implent (I hope ... coding things I declared to be easy normaly turn to a real mess  ;)) so they all will find their way in, together with replacing in selections only and in files. Gimme some days.

Mac
Logged

Mac

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 136
    • View Profile
    • Homepage
Re: WME Visual Script Editor
« Reply #13 on: October 15, 2005, 01:32:59 AM »

Hi,

I have a new version ready.

Changes and additions:
- now the method list is directly scanned out of Mnemonics doc source files.
- it has an icon now
- the open-requester now points to the exe path or the path of the last opened script
- added an option to insert the parameters for methods (instead of '()')
- I wrote a little read me file
- some minor things

Get it using the links above.

Have fun
Mac
Logged

holmss

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 9
    • View Profile
    • Lullaby Studios
Re: WME Visual Script Editor
« Reply #14 on: October 15, 2005, 01:37:48 PM »

Mac,

I like your program, but I have one suggestion for now. There must be a way for horizontal resizing of a right window (with method's library).

10x.
Logged
"I wonder how much of love are your veins able to receive?" / T. (translated by metamorphium)
Pages: [1] 2 3  All
 

Page created in 0.058 seconds with 23 queries.