Geany Class member Sidebar - geany

In eclipse, when I open a file there is a sidebar which shows me all of the methods and global variables in the file. Is there a way I can get similar functionality for Geany?

Geany shows this one the sidebar as well, it's on a tab labeled "Symbols".
You can see an example here:
What I'm not sure about is which languages it supports. It has worked with every language I have tried so far (JavaScript, Java, C, Python, C++) but it doesn't seem to always work.

You can open the Symbols-sidebar by selecting "Preferences" in the Edit-menu. In the "Interface" tab, check "Show symbol list".

Related

Is it possible to collapse code in the VB6 IDE?

I'm looking for a way to collapse my VB6 code.
I found an option but I really hate it :
Tools > Options > Editor Tab > uncheck "Default to Full Module View"
Is there a better way like the #Region "regionName" way used in the VB.NET IDE?
EDIT :
The two small buttons located in bottom left of the code window do the same as mentioned above
No, isn't possible.
About CodeSMART:
may only show the 'branch lines'.
As for the regions, they are simply special comments, but nothing more.
See
http://www.axtools.com/products-codesmart-vb6.php

Does python gtk vte have a way to populate a dropdown menu?

Edit: Looks like im_append_menuitems is not the function to get a popup menu. Vte inherits from Gtk.Widget so the way to get a menu is probably to connect to a right mouse click and generate a custom menu. I will look into this and if it works that will be the answer.
I'm using gtk3 with python.
When opening a vte window created in python gtk I can do all the normal things one would expect from a terminal except right click for a dropdown menu.
In the C documentation there's vte_terminal_im_append_menuitems ().
I haven't tried it yet because it requires a GtkMenuShell and I've only used GtkMenu. So I might have trouble using it.
The documentation isn't the best for edge cases, and I'm using python which doesn't always have the bindings made right. Some of the abstract gtk classes I've tried in python have given me trouble too.
I'm wondering if there is an easier way than GtkMenuShell.
If not an example of GtkMenuShell would help.
In the meantime I'm going to try to do it on my own. If I come up with the code soon I'll post it as an answer.

how to show method / function list in Textmate

I am working on a Lua file. I have some methods in it. I wanted to know if its possible to configure Textmate to show the list of methods inside a file and a way to quickly reach the first line of a method by choosing a method from that list. I do have Lua and Corona specific Textmate bundle installed for syntax highlighting Lua and Corona APIs.
what a bummer. Found the answer. Its in the bottom pane of Textmate window. Next to tab size.
A quick shortcut would be to ⇧⌘T or go to Navigate -> Go to Symbol.

AutoClose parens, braces, etc in Eclipse and in Visual Studio

I want to know the name of the specific editing mode in which the editor automatically closes the paren after you write (, and then you can jump right after the ) when you press a tab. It does the same thing with ". How can one get this thing working in VisualStudio and in Eclipse?
Thanks.
upd: clarification of the title. The name of the feature is AutoClose
upd2: Visual Studio doesn't support this natively --> source
upd3: A similar question. Turns out ReSharper can do this for C# and VB, but still nothing for native C++.
I am going for the eclipse IDE (cause is the one that i know, but there are lots of VisualStudio gurus over here that probably will come with the other half).
In eclipse you are talking about the "Formatter" feature, that is located under the menu Window / Preferences, and then select in the right tab (Java / Code Style / Formatter ) and then you can edit the active profile (there is a section called "braces" that defines the behaviour that you are talking about).
To assign that behavior to another file type, you can choose open that file with the Java Editor, or assign that editor (Java Editor) by default to another extension (Under General / Editors / File Associations, also in the preferences dialog).
Hope this makes sense for you.
Intellisense? If I understand you correctly

Does Xcode have code navigation feature?

Does Xcode have a code navigation feature? Like unix's cscope type of tool which I can enter the name of a class and it will open the file for me? Or find out the caller of a particular method of a class? Or show the type hierarchy of a class?
command-shift-D (Xcode 4: command-shift-O) opens a Quick Open window where you can type a partial class name and hit enter to open the file. As far as more complex versions such as what Eclipse offers (method names, symbol names, etc), I don't believe anything like that is built into XCode.
In addition to the Quick Open window, there is the class browser. The class browser allows you to view the class hierarchy. The Class Browser can be found under the Project menu.
The "Jump To Definition" item is accessible through CMD + double click, which takes you directly to the relevant code
Also, you can "Jump To Documentation" by (Option or ALT) + double clicking on a class/method/property
Update:
Option + double click no longer takes you directly to documentation in Snow Leopard. Now it opens up a little documentation "bubble", with the option to jump to the documentation browser if needed.
If you Ctrl click a class name, method name or function name you will get a long meny where you can find the Jump to Definition item.
From XCode 4.4 upwards, you can find callers and callees by opening the "show related items" pop-up for a selected (highlighted) method:
Mark method in code (using your cursor or double click name)
Press Ctrl+1
Select "Callers" from the pop-up menu
You can also go View->Standard Editor->show related items or press the tiny button just left of the arrow buttons in the line just above the editor window (where it shows your currently selected file and method).
Also: select an identifier, right-click on it, and choose Find in Project > As Symbol (or Find in Project and choose Symbol as the search type) shows all symbolic uses, that is, declarations, definitions, and call sites.
There should opens up something like an element preview window or bubble when the user point to a method or item. The "Jump to Definition" change the users focus and take 2 steps to go to the target.
The relation window and context window in Source Insight is a good example,but I can't find them in Xcode and other dev tools for the mac.
By the way,the context window should have multiple layers to trace a deep referenced method like the split window in Xcode, not only one layer in the source insight.

Resources