Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Script Editor Improvements (https://forums.graalonline.com/forums/showthread.php?t=87242)

cbk1994 08-03-2009 07:45 AM

Script Editor Improvements
 
The script editor right now is nice and simple, but it lacks some basic functionality that most IDEs have. Keep in mind I am talking about the external RC, not the scripted one. No one uses the scripted one.

1. Function Jumping
Similar to how it's implemented in most IDEs, function jumping would be wonderful. I think it'd work best placed on the bottom. Also, the ability to jump between functions (e.g. CTRL + ALT + UP/DOWN) to jump entire functions.

http://img268.imageshack.us/img268/9...e60onlinux.png

2. Increase/Decrease Indent
The ability to select a block of code and increase or decrease the indent of the entire block would be great. This could be a right-click feature, but there should also be a keyboard shortcut. CTRL + ALT + LEFT/RIGHT seems fine to me, but that may be used for something.

3. Collapsing and Expanding
Collapsing and expanding functions would be wonderful when working with 4000+ line scripts.

http://www.mathworks.com/access/help...d_collapse.png

4. CTRL + S to apply
ALT + A is a fine keyboard shortcut, but I'd prefer something like CTRL + S since it's used more universally and it just "feels" better. This one is kinda silly, but I think if you're going to release a new RC, it'd be worth adding.

5. Find and Replace
Wordpad has it, even Notepad has it; find and replace would be one of the most useful things that could be added to RC's script editor. Another handy feature would be the ability to search up rather than down (finding previous occurrences).

Tigairius 08-03-2009 07:59 AM

All of these things would be great, I feel like graphics people get all these marvelous tools like Photoshop, and LATs get the graal editor which is a great tool, but scripters are sort of left in the dark with a simple text box and an apply button.

Riot 08-03-2009 08:31 AM

Code folding would be a rather nice feature if it could be added, I've gotten rather used to having that in editors like Eclipse and Visual Studio.

Quote:

Originally Posted by cbk1994 (Post 1512671)
2. Increase/Decrease Indent
The ability to select a block of code and increase or decrease the indent of the entire block would be great. This could be a right-click feature, but there should also be a keyboard shortcut. CTRL + ALT + LEFT/RIGHT seems fine to me, but that may be used for something.

In most editors I've used, they simply use tab and shift+tab to perform this while having a block of code selected. The script editor just indents the first line of what you have selected with tab, and shift+tab doesn't do anything.

Twinny 08-03-2009 08:57 AM

Notepad++ is open source and it's a pretty wicked IDE for global coding. Could just add it to RC =D

DustyPorViva 08-03-2009 09:25 AM

I agree a lot... I get especially annoyed when I have to add an if statement or something to a large block of code and have to re-indent the WHOLE block.

cbk1994 08-03-2009 09:40 AM

Quote:

Originally Posted by Riot (Post 1512677)
In most editors I've used, they simply use tab and shift+tab to perform this while having a block of code selected. The script editor just indents the first line of what you have selected with tab, and shift+tab doesn't do anything.

Sounds good to me.

napo_p2p 08-03-2009 10:11 AM

Quote:

Originally Posted by Twinny (Post 1512679)
Notepad++ is open source and it's a pretty wicked IDE for global coding. Could just add it to RC =D

Notepad++ isn't an IDE :p. It's still really good for coding, though. I actually use it when I work on larger scripts (this helps). However, I agree completely that it would be much nicer to have a more powerful script editor built into RC.

Crow 08-03-2009 12:53 PM

Quote:

Originally Posted by napo_p2p (Post 1512688)
(this helps)

:redface:

I gotta improve this thing some time later..

Pelikano 08-03-2009 01:16 PM

Didn't Stefan say he won't upgrade the editor anymore?

Also we need Search and Replace >.< Im tired of copy pasting into a notepad lol

cbk1994 08-03-2009 03:32 PM

Quote:

Originally Posted by Pelikano (Post 1512702)
Didn't Stefan say he won't upgrade the editor anymore?

Also we need Search and Replace >.< Im tired of copy pasting into a notepad lol

Absolutely, I meant to add that! Editing my original post.


All times are GMT +2. The time now is 02:49 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.