Print Thread
Code completion fails on case for constants in double quotes
#22156 03/20/06 02:20 AM
Joined: Feb 2006
Posts: 14
Plano, Texas USA
C
Member
OP Offline
Member
C
Joined: Feb 2006
Posts: 14
Plano, Texas USA
I am using the latest 7.0.1.1066 build / 10gR2 server(win32) / 9iR2 client bins

The code completion returns the double quotes, but it is always in all lower case between the quotes.

For example:

PackageA spec has defined:
Code
"MyConstant" constant varchar2(10) := 'whatever';  
When typing code for PackageB's body, when I type PackageA. (and pause) I get "myconstant" in the code completion window and if I select it, it returns exactly "myconstant" which of course isn't a valid identifier.

Does PL/SQL Developer specifically NOT support double-quoted identifiers or is this a bug? This is a fairly large problem for me.

Thanks,
Michael O'Neill
Clever Idea Consulting

Re: Code completion fails on case for constants in double quotes
#22157 03/20/06 02:18 PM
Joined: Dec 2005
Posts: 2,004
Roima Denmark
Member
Offline
Member
Joined: Dec 2005
Posts: 2,004
Roima Denmark
PLD seems to have problems with single quotes in packages as well.

Try to view the package header SYS.standard

All names enclosed in single quotes are listed as 'function' in the content browser, e.g. function 'NOT'.

But as you state, code completion always returns double quoted names in lower case.

Re: Code completion fails on case for constants in double quotes
#22158 03/21/06 01:06 AM
Joined: Dec 2002
Posts: 491
Wellington, NZ
Member
Offline
Member
Joined: Dec 2002
Posts: 491
Wellington, NZ
what do you have your keyword case set to?

In preferences, User Interface -> Editor, there is an option for Keyword Case, make sure it is set to "Unchanged", not "Lowercase".

You may also have this option in your beautifier set to "Lowercase", General tab, Syntax Case group ( on RHS ), Keyword and Identifier case.


... suck in your lips and frown like a werewolf ...
Re: Code completion fails on case for constants in double quotes
#22159 03/21/06 03:11 AM
Joined: Feb 2006
Posts: 14
Plano, Texas USA
C
Member
OP Offline
Member
C
Joined: Feb 2006
Posts: 14
Plano, Texas USA
Good idea Claus. I checked it out and it had no effect. No matter the Editor setting, it comes back all lower case inside the double quotes.

It's definitely not a beatifier thing, either, as it does (and always should) ignore text literals in both single and double quotes.

So, can this be added to the buglist? It seems to me to be a core failure for a commercial PL/SQL IDE to fail on code completion of legally coded identifiers. Plus, I'm whining real real hard. Thanks.

Re: Code completion fails on case for constants in double quotes
#22160 03/21/06 10:40 PM
Joined: Aug 1999
Posts: 22,219
Member
Offline
Member
Joined: Aug 1999
Posts: 22,219
We'll check it out and will try to fix it.


Marco Kalter
Allround Automations
Re: Code completion fails on case for constants in double quotes
#22161 03/22/06 08:54 AM
Joined: Feb 2006
Posts: 14
Plano, Texas USA
C
Member
OP Offline
Member
C
Joined: Feb 2006
Posts: 14
Plano, Texas USA
That would be great! Thank you so much.


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.094s Queries: 13 (0.009s) Memory: 2.5205 MB (Peak: 3.0420 MB) Data Comp: Off Server Time: 2024-05-15 17:13:13 UTC
Valid HTML 5 and Valid CSS