Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-03-2009, 07:45 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
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.



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.



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).
__________________

Last edited by cbk1994; 08-03-2009 at 03:35 PM..
Reply With Quote
  #2  
Old 08-03-2009, 07:59 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
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.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #3  
Old 08-03-2009, 08:31 AM
Riot Riot is offline
Delteria Management
Join Date: Nov 2003
Location: Seminole County, Florida
Posts: 280
Riot is on a distinguished road
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 View Post
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.
Reply With Quote
  #4  
Old 08-03-2009, 08:57 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Notepad++ is open source and it's a pretty wicked IDE for global coding. Could just add it to RC =D
Reply With Quote
  #5  
Old 08-03-2009, 09:25 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
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.

Last edited by DustyPorViva; 08-03-2009 at 09:42 AM..
Reply With Quote
  #6  
Old 08-03-2009, 09:40 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Riot View Post
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.
__________________
Reply With Quote
  #7  
Old 08-03-2009, 10:11 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by Twinny View Post
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 . 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.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #8  
Old 08-03-2009, 12:53 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by napo_p2p View Post
(this helps)


I gotta improve this thing some time later..
Reply With Quote
  #9  
Old 08-03-2009, 01:16 PM
Pelikano Pelikano is offline
Registered User
Pelikano's Avatar
Join Date: Oct 2008
Posts: 1,133
Pelikano has a little shameless behaviour in the past
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
Reply With Quote
  #10  
Old 08-03-2009, 03:32 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Pelikano View Post
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.
__________________
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:31 AM.


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