How to make functions and procedures visible in intellij database source - intellij-idea

I have configured my oracle database in intellij and I already can see the tables, views ...etc (find attached screenshot).
I miss two things procedures and functions . How to make them visible?
UPDATE:
here how it looks like in sql developer:

Have you checked the routines node? It should be there. Note that you can navigate to a table/function via Navigate | Symbol action - just make sure that the filter in Navigate popup includes SQl files:

Related

Save Current View in intelliJ IDEA

I have several files open in a split view in the intelliJ IDEA. Is there a way to save this setup (ie: which files are open and witch side of the split view they are on)?
I am hoping to work on some other aspects of the program for now, but will need to return to this view/setup periodically.
I have looked under Window | Editor Tabs but could not find anything there.
As pointed out by CrazyCoder in the comments, this feature does not yet exist in intelliJ. There is a related feature request here:
https://youtrack.jetbrains.com/issue/IDEA-12130

View file structure in VS Code

One of the features I use frequently in PHPStorm is the Structure window, which shows me my file structure broken down into functions, classes, variables, etc . I'm checking out VS Code, and I don't see an option for that type of window anywhere. Is there a similar window, or other way I can view the structure of my file?
Thanks.
The latest version of VS Code now has "Outline view" shipped in
From their site:
The Outline view is out of preview and now enabled by default.
You can read more about this here:
https://code.visualstudio.com/updates/v1_25#_outline-view
I ended up going with Code Outline tree provider for Visual Studio Code as mentioned by #Mikhail above, and it works well.

How to add custom SP calls to SSMS toolbar

Recently I've found out, that there's an option to include most commonly used queries to be executed by clicking a button on SSMS toolbar.
You can do that by following these steps:
Right mouse click on toolbar
Click Customize
Create new toolbar
Modify it
Add Command
Under Query categories there's option to add up to 9 Custom SPs
Now when I came here, things look like that:
However I'm struggling on how to add the actual procedure, that needs to be executed.
There's an option to add multiple SPs:
Custom SP 1
Custom SP 2
...
sp_help
sp_lock
sp_who
How do I assign my procedure to be Custom SP 1, for instance?
To be clear: My goal is to have a button in SSMS toolbar, which would execute my desired procedure (query) on click.
This is a great question imo, but to do this it's an awful way you'll have to go.
Unfortunately i have the German version of SSMS, so my screens might confuse you a little.
Following you can see a guide:
The Options-Window
Select a free Shortcut
Assign to Toolbar
This seems a bit uncomfortable, but this is the only way i know / can imagine on how to do this.
Let me know if this helps! Cheers
English version of SSMS
Go to Tools-> options

Show executed query in Microsoft SQL Server 2016

In MySQL Workbench, after editing a column, table, or whatever, it will show the query for that action.
I could not find a similar feature in SQL Server 2016. I just want to view the SQL for the action I perform, such as editing a column.
Is it possible?
Something I've always set is Auto generate change scripts which can be found within the options:
This shows the script and prompts you to save it.
If I don't want it so that every time I do a change it prompts me I use the Generate Change Script icon (first icon below):
This is usually greyed out until you make a modification then you can click it. However the annoying thing is you have to click the icon to generate the script prior to saving the modification.
Downloaded SSMS 2016
The icon has slightly changed. In 2016 this is what you are looking for:
You will want to use the first icon on the toolbar above.
There is also a menu that appears called Table Designer. From there you can also generate the change script. This isn't a new feature in 2016 it was something I noticed when looking for the icon.

Is there a way in Intellij IDEA to see the name of the method the current line belongs to?

In our code base there are a few very long methods (several pages worth of code). When reading the code, it would sometimes be good to be able to see the name of the method the current line belongs to, without paging up to the beginning of the method. Is this possible in Intellij IDEA? I am using Intellij IDEA 7.0.3.
You can use View | Context Info (Alt+Q, Ctrl+Shift+Q on Macs). It will display a pop-up on the top of the editor with the current context information (class/method signature).
IntelliJ 2018
This is shown by default at the bottom.
Unfortunately, the method is shown only by name (not including the parameters). If a method is overloaded you won't know for sure where you are.
If you want to move it from bottom to top, go to File > Settings... > Editor > General > Breadcrumbs > check Top:
In the structure panel select the "Autoscroll from source" option.
This way when you place the cursor inside any method the structure panel will show which method you're in.
Intellij now has support for breadcrumbs. Go to settings > appearance and tick "Show breadcrumbs". In this way you can view class/method name without Alt+Q.
For some reason (Alt-Q) wasn't consistent in Android Studio for me. I find (Ctrl-F12) to be pretty satisfactory for this purpose (Navigate|File Structure) though it can be a little laggy in larger files. And by pressing the hotkey again it will populate the list with all the inherited methods as well.