Print Thread
Find and replace with "Preserve case" option
#65579 03/27/24 07:18 AM
Joined: Nov 2007
Posts: 18
B
Bart Offline OP
Member
OP Offline
Member
B
Joined: Nov 2007
Posts: 18
Hi!
It's pretty trivial for modern editors nowadays, so I might have missed the option.
If I didn't miss it, I really like to have the option in the editor to REPLACE with keeping case as is.
Example:

declare
l_table_alias varchar2(3) := 'USR';
begin
l_usr_id := -1;
end;

After find and replace "usr" with "col" and ticking the "PRESERVE CASE" option, the result would be:
declare
l_table_alias varchar2(3) := 'COL'; --currently this will be 'col'...
begin
l_col_id := -1;
end;

Last edited by Bart; 03/27/24 07:19 AM.
Re: Find and replace with "Preserve case" option
Bart #65581 03/27/24 09:43 AM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
This is currently not possible. It would require multiple case-sensitive search & replace operations.

I have added this to the list of enhancement requests.


Marco Kalter
Allround Automations

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.039s Queries: 15 (0.007s) Memory: 2.4972 MB (Peak: 3.0395 MB) Data Comp: Off Server Time: 2024-04-27 06:42:36 UTC
Valid HTML 5 and Valid CSS