Oracle SQL Developer, how to open table/view by clicking/double clicking on its name in worksheet? - oracle-sqldeveloper

The Oracle SQL developer is what I use these days and it is missing some of my previous tool (IB Expert, great tool by the way) functionalities.
1.How is it posible in SQL Developer to open table/view by click/double click on its name in the worksheet.
2.Clicking on a table/view name under its connection will open the table next to already opened worksheets or SQL files. How could this changed to double click instead?
I am using SQL Developer Version 3.0.04 under Mac OS X 10.6.8.
I have upgraded SQL Developer to the latest(Version 3.1.07) and still have the same issue.

How to override Single Click to Open tables (or any other object in tree view)
Tools > Preferences > ObjectViewer > Uncheck Open Object on Single Click
Edit:
For version 1.5.5
Tools > Preferences > Database > Advanced Parameter > Uncheck Open object on Single click

Clicking or double-clicking on a table or view name in a worksheet does not open it up. You can, however, right click on the table name and choose either "Popup Describe" or "Open Declaration". "Popup Describe" can also be invoked by hitting Shift-F4 (at least on Windows. Based on the comments, it may be different on Mac OS).
I don't believe there is a way to override the behavior of the single click when you Connections tree control. A single click always opens the declaration of the object.

Related

Truncate table in DBeaver right click menu/GUI

I am trying to find an option to truncate table in the right click menu or somewhere in the GUI of DBeaver. The database is SQL Server.
Is there any other option rather that explicitly writing the truncate script?
In DBeaver 7.2.4 - Right click on a table, that needs to be truncated, choose Tools->Truncate, click 'Start'. That's all.
This feature is not yet available for SQL Server. May be DBeaver will include this in their new versions.

How can i put number of line in Oracle sql developer

i'm a doubt.
I would like to know how can i put numbers of line in Oracle sql developer.
I think i need change something in tools > preferences, but i don't know how to do.
Thanks
Oracle Sql Developer
Right click in the gutter.
It's also in the preferences:
Open Oracle SQL Developer and follow the below steps-
List item
Go to Tools-->Preferences
Expand Code Editor
Click on Line Gutter
Enable Show Line Numbers
Done!

Tracking file in Netbeans IDE Projects window

Just getting hands on with NetBeans 8.0.2. Wondering if the IDE has similar features as Eclipse or Visual Studio like
Track current file in Projects explorer - When working with large projects, with lots of files open, if I want to navigate to current file in projects window it is getting difficult.
On top of it, the project explorer is showing the folders/files in a case sensitive manner resulting difficult to locate the exact file/folder.
Is there a settings or two to control this behavior?
For the first part:
use the option "View -> Synchronized Editor with views" to automatically select the current file in the editor in the project window.
Alternatively (what I prefer) use "Navigate -> Select in Projects" to manually select the current editor file in the project window .
You can find more information about navigating in the IDE in the manual:
http://docs.oracle.com/cd/E50453_01/doc.80/e50452/work_java_code.htm#CIAGADFI
Regarding the second part: Java is case sensitive. MyClass is something different than MyCLASS so it has to treat the file names as case sensitive.

How can I assign a Keyboard Shortcut to "Run SQL" in RAD7 / Eclipse

When developing in Rational Application Developer 7 I regularly run SQL queries to confirm DB state and get info for test data. I have a .SQL file with various SQL snippets in it which I use and can highlight the relevant lines I want to run. However I then have to right click with the mouse and select "Run SQL" from the menu.
There is no keyboard shortcut assigned to this command and my attempts to set one up via
Window > Preferences > General > Keys
have been unsuccessful. "Run SQL" appears under "uncategorized" rather than "Run" but attempts to assign a keyboard shortcut to it have been unsuccessful.
Has anyone else come across this issue? I can't believe I'm the only one who finds this annoying when there are so many other shortcuts set up to speed things up...
From the bug 238890 (2008), this feature has never been intended to become a full run configuration.
The user should use 'Execute Selected' context menu. The 'Run' is designed for
running stored procedures.

Netbeans Shortcut to Open File

I remember seeing someone use a shortcut in NetBeans to open a dialog similar to phpStrom that can open files based on class names or is it file name. whats that?
Updated
I'm fairly certain you are referring to the "Quick File Chooser" plugin. As someone else points out, though, there are several other candidates. I list them below...
The Quick File Chooser Plugin:
By default CTRL-SHIFT-O opens the Open Project dialog, and once the plugin is installed, you will get the dialog pictured here automatically:
(The Quick File Chooser plugin replaces the default open project dialog with its own.)
When opening a file with the Quick File Chooser plugin, you see this:
I did not find that the plugin was able to open based on a class name.
Quick File Chooser is available through the NetBeans Plugin Portal. You can also install it directly from within NetBeans versions 7.1 and 7.3 if you have the "Plugin Portal" Update Center configured. (See the bottom of this answer for instructions.)
NetBeans Core (no plugin)
By default CTRL-SHIFT-O opens the Open Project dialog, and without the QFC plugin, you will get the default dialog:
The default Open File dialog is this:
The Open File dialog does not have a keyboard shortcut by default, but you can easily add it:
Click on Tools, then Options, then on the Keymap icon in the tool bar of the dialog.
In Search: type "Open Fi" and you should see "Open File..." in the Actions list.
Double click on the Shortcut box for that entry, and select an appropriate shortcut (either by pressing the key combination, or by selecting it from the drop-down).
Click OK.
The Go To... Dialogs:
The Go To... dialogs are provided by core NetBeans, and are available even if the QFC plugin is installed (the QFC plugin does not override them).
The Go To File dialog is ALT-SHIFT-O.
Go To Type: CTRL-O, appears to list classes, variables, and all sorts of stuff.
Go To Symbol: CTRL-ALT-SHIFT-O
For PHP projects, Go To Type and Go To Symbol appear to list the same set. As mentioned, all of these are available on the Navigate menu.
Installing Quick File Chooser from the Plugin Portal Update Center
In NetBeans:
Click on Tools, then Plugins
Go to the Settings tab
Ensure that the "Plugin Portal" is listed in Configuration of Update Centers and checked as Active. If it is not listed, click Add, give it an appropriate name, and the URL is http://plugins.netbeans.org/nbpluginportal/updates/7.3/catalog.xml.gz for versions 7.3.x. (In the URL replace the "7.3" with, e.g., "7.2" or "7.1" if you are using an older version of NetBeans.)
Click on the Available Plugins tab.
Click on Reload Catalog just to be sure you have the latest contents.
In Search: type "Quick". That should be enough to get it listed by itself (or at least on a short list).
Click on the check box under the Install column, and then click on the Install button down below.
to open a file based on its name
Alt+Shift+O.
Hit Ctrl + O to search files based on their 'Class Name'.
I think the simplest solution for this would be
ALT+f+o
This will open the file open dialog box, now you can browse through the files and open which-ever file you want or if you have the complete path to that file just paste it in the text-field which says "File name:" and press Enter
I use Ctrl + Shift + O to open this dialog for Java classes.
I don't know if this is also valid for PHP though.
If you just want to open some file based on its name, you can use Ctrl + Shift + L.
Edit:
Both actions are available in the Navigate menu.
This is old and pretty much answered, but you may also try this plugin - works for all up to 8.2:
My shortcuts different from answers above (don't know why).
To me its Alt + Shift + L, Or Navigate->"Go to File".
To search by type its Alt + Shift + O or Navigate-> "Go to Type" (you can see the shortcut in front of it)
It did not require me to install any plugins BTW. Netbeans version: 8.2
The best way to search and open file in netbeans:
Press ctrl + o and type file name you are looking for, it will search in current projects and list matching files thn you can select file and open.
Another way is to use open file fast plugin. it got two matching modes, smart (like in textmate) and exact.
The best way to open the file without any plugins is to use Alt + Shift + O, then netbeans will offer all the available files with your given keywords.
I do also believe the answer from #faisalbhagat must be the accepted answer as #Thor mentioned above!