|
![](/ubb/images/icons/default/book.gif) enhancement request
|
Joined: Oct 2003
Posts: 38 Netherlands
Member
|
OP
Member
Joined: Oct 2003
Posts: 38 Netherlands |
Hi all, I am working on a project where I update existing code. A lot of the pl/sql code has tab characters in it... I just hate them I'd like to replace the tabs with spaces, but I can not see where the tabs are, because they are not visible. Can PL/SQL Developer be expanded with a
SQL> alter ego rebuild;
|
|
|
![](/ubb/images/icons/default/book.gif) Re: enhancement request
|
Joined: Aug 1999
Posts: 22,232
Member
|
Member
Joined: Aug 1999
Posts: 22,232 |
I have added this to the list of enhancement requests.
Marco Kalter Allround Automations
|
|
|
![](/ubb/images/icons/default/book.gif) Re: enhancement request
|
Joined: Oct 2003
Posts: 38 Netherlands
Member
|
OP
Member
Joined: Oct 2003
Posts: 38 Netherlands |
SQL> alter ego rebuild;
|
|
|
![](/ubb/images/icons/default/book.gif) Re: enhancement request
|
Joined: Apr 2003
Posts: 517 Portland, OR, USA
Member
|
Member
Joined: Apr 2003
Posts: 517 Portland, OR, USA |
This is a good request.
Here's something that can help until it is implemented. There are a some good freeware text editors that will convert tabs to spaces as well as show the tabs. For example, Crimson and ConText both do that. I've copied code to them, changed tabs to spaces and copied it back.
Of course, if the program is creating a tab delimited file or something, it wouldn't be so good to do, so just don't do it blindly!
|
|
|
![](/ubb/images/icons/default/book.gif) Re: enhancement request
|
Joined: Jul 2004
Posts: 592
Member
|
Member
Joined: Jul 2004
Posts: 592 |
Another workaround for now: Find a tab somewhere, and copy it. Go to Edit->Find... and paste the tab character in the "Find & Replace" dialog. Click "Search". Now you can use Edit->Repeat Last Find to find them all.
(Using shortcut keys is obviously faster, but I think I changed mine from the defaults so I didn't want to list them here.)
And yes, Thanks Marco!
|
|
|
![](/ubb/images/icons/default/book.gif) Re: enhancement request
|
Joined: Oct 2003
Posts: 38 Netherlands
Member
|
OP
Member
Joined: Oct 2003
Posts: 38 Netherlands |
Great tips Mike & Worker,
I use UltraEdit32 for editing non pl/sql stuff, and it also has the
SQL> alter ego rebuild;
|
|
|
![](/ubb/images/icons/default/book.gif) Re: enhancement request
|
Joined: Jul 2006
Posts: 57 Vienna, Austria
Member
|
Member
Joined: Jul 2006
Posts: 57 Vienna, Austria |
What about a "Tabs to Spaces" menu option as UltraEdit has it? Another possible solution: If I have set my Preferences/Editor/Use tab charater=no, would it be a good idea if PL/SQL developer does an auto-convert when the file is loaded? Isn't that what we want to get rid of this tabs? :-) Patrick Check out my APEX-blog: http://inside-apex.blogspot.com
|
|
|
![](/ubb/images/icons/default/book.gif) Re: enhancement request
|
Joined: Feb 2001
Posts: 141 Memphis, TN, USA
Member
|
Member
Joined: Feb 2001
Posts: 141 Memphis, TN, USA |
It definitely needs to be an option. I used tab, not spaces... :-)
|
|
|
![](/ubb/images/icons/default/book.gif) Re: enhancement request
|
Joined: Sep 2004
Posts: 111 USA
Member
|
Member
Joined: Sep 2004
Posts: 111 USA |
Marko (or anyone at allroundautomations), Is there a web page that lists the enhancements and/or fixes expected in the future versions or PL/SQL Developer?
It'd be very helpful to know that in advance.
|
|
|
![](/ubb/images/icons/default/book.gif) Re: enhancement request
|
Joined: Feb 2005
Posts: 59 Latvia
Member
|
Member
Joined: Feb 2005
Posts: 59 Latvia |
Hey guys, there is no need to autoconvert smth, I hate this stuff that happens not knowing it... Use RexExp to do this: for search use \t, for replace type how many spaces you need for one tab. Be sure to enable RegExp feature.
regards Kirurgs
|
|
|
|
|
|