Print Thread
Page 1 of 3 1 2 3
enhancement request
#25089 01/25/07 06:00 PM
Joined: Oct 2003
Posts: 38
Netherlands
Member
OP Offline
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 smile

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;
Re: enhancement request
#25090 01/25/07 08:25 PM
Joined: Aug 1999
Posts: 22,232
Member
Offline
Member
Joined: Aug 1999
Posts: 22,232
I have added this to the list of enhancement requests.


Marco Kalter
Allround Automations
Re: enhancement request
#25091 01/25/07 08:52 PM
Joined: Oct 2003
Posts: 38
Netherlands
Member
OP Offline
Member
Joined: Oct 2003
Posts: 38
Netherlands
Thanks Marco!


SQL> alter ego rebuild;
Re: enhancement request
#25092 01/25/07 10:15 PM
Joined: Apr 2003
Posts: 517
Portland, OR, USA
M
Member
Offline
Member
M
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!

Re: enhancement request
#25093 01/25/07 10:23 PM
Joined: Jul 2004
Posts: 592
W
Member
Offline
Member
W
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!

Re: enhancement request
#25094 01/26/07 03:07 PM
Joined: Oct 2003
Posts: 38
Netherlands
Member
OP Offline
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;
Re: enhancement request
#25095 01/26/07 10:28 PM
Joined: Jul 2006
Posts: 57
Vienna, Austria
P
Member
Offline
Member
P
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

Re: enhancement request
#25096 01/29/07 08:35 PM
Joined: Feb 2001
Posts: 141
Memphis, TN, USA
Member
Offline
Member
Joined: Feb 2001
Posts: 141
Memphis, TN, USA
It definitely needs to be an option. I used tab, not spaces... :-)

Re: enhancement request
#25097 01/29/07 09:38 PM
Joined: Sep 2004
Posts: 111
USA
I
Member
Offline
Member
I
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.

Re: enhancement request
#25098 01/30/07 01:57 PM
Joined: Feb 2005
Posts: 59
Latvia
K
Member
Offline
Member
K
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
Page 1 of 3 1 2 3

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.037s Queries: 15 (0.013s) Memory: 2.5583 MB (Peak: 3.0394 MB) Data Comp: Off Server Time: 2024-06-17 00:54:08 UTC
Valid HTML 5 and Valid CSS