3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: 1 2 [3] 4 5 6

Author Topic: Script Editor with Autocomplete/Intellisense (v3.0.2)  (Read 15414 times)

« Reply #30 on: June 05, 2010, 01:30:55 PM »
The hijack works fine, but seems to be some glitches into the 3dRad script window... btw, great work!!

good to hear if it works : )

..any specific glitches/bugs ?
http://3dradder.blogspot.com/ <- Stuff 4 3DRad   | *Donate now: Post-prosessing shaders | External Script editor mEH*
« Reply #31 on: June 05, 2010, 02:09:41 PM »
I dont get what happens after you press the new hijack button in the script editor.
Also could we keep the buttons that the hijacker gets rid of? I couldn't figure out how to get them to work again so I had to shutdown my computer.
3Drad Version: 6.51, and 7.11

System Specs:
MS Windows 7 Home Premium 64-bit
AMD Athlon Neo X2 Dual Core Processor L335, 4.0GB RAM
ATI Radeon HD 3200 Graphics
250 MB Hardrive
HP Pavillion dm3 Laptop

Total Donation Amount:$24

Location: Edmonton, Alberta

Email: [email protected]
« Reply #32 on: June 05, 2010, 02:33:05 PM »
- I would like to save fonts, colors and other preferences...
This is possible - will be in the next update.

- Could be possible to drag ( <--|--> ) all panels horizontally?
Also possible - will be in the next update.

- Can you add line numbers? ;D ;D
I'll have to see - it shouldn't be too difficult.

- Automatic Variable Detection needs some fixes
- Hope you can solve the text color problem (at least in comments)
Yeah - it's needs some tweaking. At the moment, every time you update the text, it searches for all instances of 'int', 'float', and 'string', selects them, changes the colour, then deselects them. This means that the cursor will always jump back to the beginning of the script. This should be fixed once I've integrated ScintillaNET - this will also fix the comment colouring problem.
Using 3D Rad v7.10, Windows 7 / Arch Linux, AMD Sempron 2.1GHz, ATI Radeon HD 3200.

Advanced Script Editor for 3D Rad (v3.0.2)
« Reply #33 on: June 06, 2010, 07:21:34 PM »
Just thought I'd let you know that I haven't disappeared off the face of the earth - I'm still working on the next version.

The updater is almost done - you'll be able to simply hit the 'Help > Check for Updates' button, which will close the app and open the updater app. The updater will then download a tiny 1kb text file containing the current version. Next, it will compare the current version to it's own version - if there is a newer version, you will be able to download it directly from the updater.

ScintillaNET might be implemented, but at the moment I'm having some trouble getting it to work. If I don't get it to work, I have a backup plan - it's far from perfect, but it gets the basic variable highlighting done as you type. It's just an improved version of the automatic variable highlighting we already have.

Hopefully, the new version will be ready in a couple of days :D.
Using 3D Rad v7.10, Windows 7 / Arch Linux, AMD Sempron 2.1GHz, ATI Radeon HD 3200.

Advanced Script Editor for 3D Rad (v3.0.2)
« Reply #34 on: June 09, 2010, 05:36:48 AM »
Well, there it is - v2.6. I've mainly been working on the updater, so this isn't much of an update...

I've added the ability to resize the object lists<--|-->script editor, also some minor fixes to the automatic variable detection. Unfortunately, ScintillaNET didn't work out. It's not officially supported on Win7 64-bit machines - not sure if that's the problem, but it might be. I'll keep working on it, hopefully I'll get it to work. Saving the preferences was more complicated than I thought, but it is possible - I'll keep working on it.

On a different, yet related, subject, I have set up a CodePlex page so that if anyone feels like tinkering around with the source code, they're more than welcome to. Enjoy.
Using 3D Rad v7.10, Windows 7 / Arch Linux, AMD Sempron 2.1GHz, ATI Radeon HD 3200.

Advanced Script Editor for 3D Rad (v3.0.2)

psikotropico

« Reply #35 on: June 10, 2010, 06:13:13 AM »
On a different, yet related, subject, I have set up a CodePlex page so that if anyone feels like tinkering around with the source code, they're more than welcome to. Enjoy.

hey man... that sounds like you've abandoned the project... ;D ;D
« Reply #36 on: June 10, 2010, 07:25:52 AM »
Nah, CodePlex offers a useful way to keep track of changes. With 2000+ lines of code, it can get rather difficult to see what changes I've made and when.

v2.7 is almost ready - I've finally got the automatic syntax highlighting to work perfectly! Also, fonts and colours are automatically saved when you exit. I'll probably have it up within the hour.
Using 3D Rad v7.10, Windows 7 / Arch Linux, AMD Sempron 2.1GHz, ATI Radeon HD 3200.

Advanced Script Editor for 3D Rad (v3.0.2)

psikotropico

« Reply #37 on: June 10, 2010, 08:34:18 AM »
man, you're big
« Reply #38 on: June 10, 2010, 10:24:43 AM »
Just from quick test..

- Tab is too long? (maybe half would be better..)
- comment line, could color the text also? (following //...)
- automatic semicolon at end of line (if its not there, when pressed enter?) or simple "error checking" for missing ";"?
- are you going to make autocomplete/dropdown-keyword-select within the editor?
http://3dradder.blogspot.com/ <- Stuff 4 3DRad   | *Donate now: Post-prosessing shaders | External Script editor mEH*
« Reply #39 on: June 10, 2010, 12:00:54 PM »
Just from quick test..

- Tab is too long? (maybe half would be better..)
- comment line, could color the text also? (following //...)
- automatic semicolon at end of line (if its not there, when pressed enter?) or simple "error checking" for missing ";"?
- are you going to make autocomplete/dropdown-keyword-select within the editor?

- I'll add an option to change the tab length to the Options menu.
- I'm still working on the comments - it may take a while though.
- A syntax checker like 3D Rad's would be good, but since 3D Rad already has one, this is quite low on the list.
- This is my main goal ("Script Editor with Autocomplete/Intellisense") - I hope to have something like Visual Studio's autocomplete soon.
Using 3D Rad v7.10, Windows 7 / Arch Linux, AMD Sempron 2.1GHz, ATI Radeon HD 3200.

Advanced Script Editor for 3D Rad (v3.0.2)
« Reply #40 on: June 20, 2010, 02:37:42 AM »
There it is - what you've all been waiting for: Autocompletion (it's like Intellisense, but crap ;D). Bring up the autocompletion list by hitting Ctrl+Space (I mean pressing, not hitting). It seems that the list only automatically scrolls if it's at the very beginning of very end of the script - could you guys test this?
At least the title isn't misleading any more...

Two main goals now: comments and line numbers - and maybe a syntax checker as well.
« Last Edit: June 20, 2010, 02:40:08 AM by starkiller53861 »
Using 3D Rad v7.10, Windows 7 / Arch Linux, AMD Sempron 2.1GHz, ATI Radeon HD 3200.

Advanced Script Editor for 3D Rad (v3.0.2)

psikotropico

« Reply #41 on: June 20, 2010, 05:19:17 AM »
It seems that the list only automatically scrolls if it's at the very beginning of very end of the script - could you guys test this?

tested.. also I've noticed the autocompletion scroll automatically if is out of Main()
« Reply #42 on: June 20, 2010, 01:30:31 PM »
Thanks, I'll look into it.
Using 3D Rad v7.10, Windows 7 / Arch Linux, AMD Sempron 2.1GHz, ATI Radeon HD 3200.

Advanced Script Editor for 3D Rad (v3.0.2)
« Reply #43 on: June 21, 2010, 03:54:03 AM »
Okay, I know it's been less than a day, but I've spend the last couple of hours finishing the updater (Updater.exe), so I simply had to upload it :D.
Using 3D Rad v7.10, Windows 7 / Arch Linux, AMD Sempron 2.1GHz, ATI Radeon HD 3200.

Advanced Script Editor for 3D Rad (v3.0.2)
« Reply #44 on: June 28, 2010, 10:38:54 AM »
Advanced Script Editor is 1 month old today!
Using 3D Rad v7.10, Windows 7 / Arch Linux, AMD Sempron 2.1GHz, ATI Radeon HD 3200.

Advanced Script Editor for 3D Rad (v3.0.2)
Pages: 1 2 [3] 4 5 6