Howto fix messed-up TOAD configuration - How to open a SQL-Window - oracle

I am stuck with my daily use of TOAD.
I use Toad in parallel with SQL Developer, because TOAD provides syntax hi-lighted SQL Export und faboulous dependeny tracking with F4. Still most of development of mine is done on SQL developer.
For a few days I struggle with Toad. Sometimes it opens all the editor windows I need on opening, sometime it won't and I can't figure out how to tailor and tame the beast.
I struggle with this situation:
I have connected to target system, but the editor window does not open by itself, neither I can open one manually - see picture.
What is wrong?
How can I tailor toad, to open an SQL editor window, each time a new session is established?
How can I open a SQL-window, eg. how to activate the open editor option in the situation show on the screenshot?
What kind of strange state TOAD is taking in the situation shown?
Thanks for your help.

Your screenshot is so small I can't see everything you have going on, but the Editor menu you show contains Editor specific commands that are only enabled when an Editor is opened and active. You don't have one. To open an Editor windows see the Database menu. There's also a toolbar button for it, but it looks as though you only have the Team Coding toolbar active.
Since you are having issues I'd recommend resetting the toolbar layout so that everything is visible again. Right click over Toad's toolbar and choose "Restore defaults."

Related

SQL Developer not showing tables

So, I'm kinda new to SQL Developer, but I always heard a lot about it and how it was good. The thing is, my SQL Developer never showed my tables, nor had a "Tables" tab. Sorry if this is a dumb question, but, I've searched everywhere and, wherever I search they simply show that SQL Developer automatically generate the "Tables" tab when you connect. This never happened to me.
One more question, all of a sudden, my SQL Developer toolbars changed and the old ones simply vanished. And, when I say "all of a sudden" I mean it. I closed it and, when I opened, it changed. Also, the buttons doesn't work, none of them.
Your screenshot shows that you have the Data Modeler extension active. All those toolbar buttons are for creating logical data models and ERDs.
It's a little weird as you have a worksheet active, so the worksheet/SQLDev toolbar should be active.
Glad a restart helped.
If this happens again, try Window > Reset Windows to Factory Settings
You're looking at the DBA view. You probably want to be looking at the Connections view. Go to View and choose "Connections". That will bring up the window that contains the tree view that lets you navigate to different object types (like tables) rather than the tree view that lets you navigate to different DBA tasks.
If you are on Windows, try this
View(from the top menu bar) --> Connection(click it)
Clicking on Connection will open the Connection view with all the tables.

Can I disable Query Designer in Visual Studio in favor of plain SQL editor with highlighting?

I hate the standard Query Designer window that comes up when you select New Query on a data connection in Server Explorer. I'd much rather have a T-SQL Editor come up. Is this possible?
Maybe not replace that functionality but a shortcut key or something that would bring up a T-SQL editor?
Tools > Options > Database Tools > Query and View Designers > Panes shown by default
Uncheck the Diagram and Criteria (and Results if you want even more clean look)
I found a workaround, although it does not solve the problem completely:
Open Tools > Customize > Commands
Select Context menu: Other Context Menus | Server Explorer
Remove annoying New Query
Click Add Command...
Locate Data > New Query Connection...
Click OK to add it to Server Explorer context menu
This adds New Query Connection... context menu to all Server Explorer connections (as well as the root Data Connections item):
This will fire up the T-SQL Editor.
The only problem with this workaround is that, invoked this way, T-SQL Editor has no way of knowing which connection was selected so it asks for connection settings again. You will also have to specify the database in the toolbar (easy if you're working with just one).
Although it's not perfect, I find it a better solution that constantly hitting the Query Designer awkwardness.

Did anyone manage to make katmouse work over vs 2010

As you might know katmouse enables scrolling over non active windows. Which would be especially great in vs 2010 because now you can take source code windows to other monitors. But of course it does not work. Is there a trick to make WPF receive the right message?
Try WizMouse, remember to set it to run with administrator privileges to make it work for admin level windows.
Yes, well, mostly.
Open the KatMouse dialog by right clicking and choosing settings. Go to the Classes tab, and drag the icon on the bottom of the dialog to an open vs2010 window. That'll add the new class to KatMouse. Now double click that new entry to bring up the settings for that class, and turn off the "Window has wheel scrolling support" checked box.
Unfortunately it seems like the class name changes for every source window, so I think you have tell KatMouse about every source window every time you launch vs. :(

Oracle SQL Developer "Run" shortcuts disabled

Suddenly all my keyboard shortcuts in the "Run" menu are disabled and I have no idea why. They were working yesterday, but not today. I can click on the toolbar menu options to run these commands (Run, Trace, etc), but they key bindings don't work. I tried this suggestion and even went so far as to re-install it. Still no luck. Anyone have any suggestions?
Thanks!
Most of the menu items in Oracle SQL Developer will be active only if at least one connection is active.
So check whether you have your connection object is active.
For more Oracle SQL Developer shortcuts click here
Have you assigned a connection to the worksheet (or file, if that's what you are trying to run)? It's the dropdown box on the top right-hand side.
This is for debug and won't be enabled until you click on some code (say a Function, Procedure, or a Package)
I had this same issue until I opened the procedure/function etc. with the procedure editor instead of as a worksheet. This is done by finding your program in the Connections explorer and opening it from there.

Visual Studio UI Improvement OCD Mode

I am wondering if anyone knows how to pull this off. Here goes.
I have a multi monitor setup, and I maximize Visual Studio to both windows. I create a new vertical document tab control, so that I have one document tab control in each physical screen. This is fine.
Now, I want to be able to make them work as if they were connected. I want to have the designer on one side, and the code related to the displayed designer on the other window.
I'd like it to have the following functionality:
If a item is double clicked on the solution explorer, open designer/code in both tabs.
When a document is selected in either pane, open appropriate file in the other pane.
Make the designer view refresh on edit, or periodically.
Any ideas on how I could pull this off?
Try to check (wait) for VS 2010 (beta now). There should be multi monitor support.

Resources