Oracle SQL Developer "Run" shortcuts disabled - oracle

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.

Related

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

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."

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.

PLSQL Developer. Grayed out "Preference" menu item

I cannot click the preference button on Pl/SQL Developer. Though I am connected and I am able to run scripts. I need to adjust somethings in the pls/sql Developer, but I am not able.
Doest anyone know the solution?
According to this changelog, this bug was fixed in version 8.0 Beta 5: "Preferences menu could be disabled on first start".
According to this thread, you need to make sure that this directory exists and you can write to it: C:\Documents and Settings\<user>\Application Data\PLSQL Developer\Preferences\<user>.

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.

Eclipse's tab double click on Visual Studio?

On Eclipse, whenever I double click a tab, it fills the workspace (by hiding all other views like project tree, console, etc).
Is there any way to do this on Visual Studio?
Note: i'm not looking for full screen, just want a way to declutter the workspace but still have access to menus.
Are you after this?
Set shortcuts for the Window.AutoHideAll function and for the Window.ResetWindowLayout function. In order for the ResetWindowLayout to work, you have to export your settings (make sure you select "All Settings") with all windows expanded and then import them again.
ResetWindowLayout will restore all windows to the way they were the last time you imported your settings.
Not with double click on tab, but you can do the same with Shift+Alt+Enter key combination.
This keyboard shorcut was changed to F11 from 1.9.1 vscode version.
All keyboard Shortcuts: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
I was looking for that, as well, and I now just got used to using full screen (Shift+Alt+Enter), which hides a little too much, which you seem to think, as well, but does in fact still show the menus.
Looks like drby got it on this one. Just FYI. I pinged the VS team to ask about this and here is the response:
"There is no way to reverse the command automatically. For it to work as a toggle we would need to save which toolwindows were auto hidden and which ones were not when the command was run, which we don’t do (it would cause lots of interesting persistence questions, across profiles and VS sessions)."
The idea of a "Unhide All" command is what I suggested. So if you hide all then you can unhide all as well. There might be some windows you don't want to unhide but the 1 or 2 extra windows is better than not having an unhide IMHO.

Resources