Bring up toad intellisense
Asked Answered
H

4

6

When typing a query in Toad it usually brings up an intellisense scrolling box to help with my typing.

But sometimes this does not appear. Is there a short cut (like in Visual Studio) to bring it up?

EDIT I found that the key mapping is CTRL+.

For a query like

SELECT * FROM Person AS P
WHERE P. -- I expect intellisense to show me the columns. 
         -- Sometimes it does not and pressing the CTRL+. does nothing

Pressing CTRL+. away from a query brings up a very long list of things like -

@@CONNECTIONS @@CPU_BUSY @@CURSOR_ROWS @@DATEFIRST @@DBTS @@ERROR

Do I have the correct shortcut key?

Is the problem that Toad can't figure out the column names in the query above?

EDIT 2

Very strange behavior

If I have

USE DB1
SELECT * FROM Person AS P
WHERE P.--I get the intellisense

BUT if I have the following in the editor -

USE DB1
SELECT * FROM Person AS P
WHERE P.--I get the intellisense

USE DB2 
SELECT * FROM Company AS C
WHERE C. -- No intellisense

Solution below in my own answer

Histogram answered 8/2, 2013 at 18:18 Comment(0)
H
1

It seems if there is a second USE on the page intellisense will not work with queries below the second USE!

If I have

USE DB1
SELECT * FROM Person AS P
WHERE P.--I get the intellisense

BUT if I have the following in the editor -

USE DB1
SELECT * FROM Person AS P
WHERE P.--I get the intellisense

USE DB2 
SELECT * FROM Company AS C
WHERE C. -- No intellisense

It seems if there is a second USE on the page intellisense will not work with queries below the second USE!

Histogram answered 10/2, 2013 at 17:44 Comment(0)
G
11

I suggest you to use CTRL+T combination. I used it and it works. Also Dell official support agrees, here too. Toad is not the greatest software for best user experience :)

Glanders answered 8/2, 2013 at 18:48 Comment(3)
On my install it looks like it is mapped to CTRL+.Histogram
yep, there's two mappings, just like the support pages suggest.Glanders
Ctrl+T and Ctrl+. both work, but note that they don't work in all cases like they would in regular programming languages. It depends on the text before the Intellisense.Cystotomy
P
1

CTRL-TAB will bring it up for you.

hope this helps!

Palliasse answered 8/2, 2013 at 18:35 Comment(2)
see here for a whole list of handy shortcuts: mandsconsulting.com/toad-sql-editor-useful-shortcutsPalliasse
On my Toad CTRL-TAB changes the active windown, like in a browser.Histogram
H
1

It seems if there is a second USE on the page intellisense will not work with queries below the second USE!

If I have

USE DB1
SELECT * FROM Person AS P
WHERE P.--I get the intellisense

BUT if I have the following in the editor -

USE DB1
SELECT * FROM Person AS P
WHERE P.--I get the intellisense

USE DB2 
SELECT * FROM Company AS C
WHERE C. -- No intellisense

It seems if there is a second USE on the page intellisense will not work with queries below the second USE!

Histogram answered 10/2, 2013 at 17:44 Comment(0)
T
-1

You have to complete first query to get intellisense in second one. So if you complete first query i.e.

USE DB1
SELECT * FROM Person AS P
WHERE P.FirstName = ‘Sanket’

Then only you can get intellisense in second query.

USE DB2 
SELECT * FROM Company AS C
WHERE C. --Get the intellisense
Thimbu answered 29/9, 2016 at 13:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.