code-completion

JS based JS Editor with code-completion

Hey Guys Anybody knows a Editor where i can develop my JS directly in the Browser with a js based Editor? It would be nice if the code completion is customizable so that you can add own objects and methods, possibly documentation for each method / object. Code completion is not required for the objects that come with javascript (like w...

How to make basic code autocompletion?

Hello :) I'm making simple code editor in GTK and gtksourceview2.0. I would like to add to my editor a code completion window. There should be 10-15 keywords (always the same). Can anyone could give me url for some tutorials or describe usage of gtk_source_completion_XXX functions? ...

Netbeans don't refresh php code completion

I'm using Netbeans 6.9.1 and php code completion hints don't see the new code I modified, it only refresh at restart. For example if I add a constant to a class, it don't appear in the code completion, but if I restart nb, then it appears. Any fix or way to avoid this? ...

How do I turn off try/catch block code completion in ReSharper?

When I start typing a try/catch block, ReSharper causes it to be expanded from try { to try { } catch(Exception) { } I appreciate ReSharper trying to do me a favour, but this is one of those instances where I'd prefer to do it myself seeing as I'm often going back and adding the try block later, or typing a try/finally block withou...

See cursor function info in NetBeans

There is any way to see the function auto completion code? For example: $a = test("cat", false, false, false, true, true, false, true); In PhpDesigner if I put the mouse over the third "FALSE" I see the auto completion code and the variable name defined in the method declaration. ...

Hippie Code Completion in IntelliJ IDEA?

In Netbeans, it's Ctrl + K that activate the hippie completion, In Eclipse, it's Alt+/ What is it in IDEA? Edit: Hippie Completion is the kind of completion that doesn't require much information about the context. It scans all the word in file(s) and immediately choose the first match. It originate in some variation of Emacs. Read m...

trying to get vim to work with python

Im trying to get code completion for python in vim 7.3. When I install vim I use this configuration: ./configure --prefix=${HOME}/vim73 --enable-python3interp=yes --with-python3-config-dir=/home/etobkru/Python3/lib/python3.1/config make && make install I copy this file: http://vim.cybermirror.org/runtime/autoload/python3complete.vim ...

How does Google Scribe work?

I'm asking about the new labs feature "Google Scribe." Here is the link: http://scribe.googlelabs.com/ I am interested in the backend and the frontend, but mainly the backend. I want to build something similar with a very specific data set (derived from my own documents). I think the frontend of it is fairly straightforward, and I co...

NetBeans code templates, with comments

I have following code template in NB 6.9.1: function ${functionName}($$${param}) { ${selection}${cursor} } // end: ${functionName} () NB formats this to: function testFuncName($param) { } // end: testFuncName () NB keeps to push comment from last line two linebreaks lower than ending bracket, but i want to have it exactly in...

How Do I Add A New Set of Tags (markup) to Eclipse PDT

I do a far share of Twilio development, and when I use their specialized markup Eclipse complains that it's not well formed (red squiggly line, not completing tag, etc). Of course, as far as Eclipse knows, it's not - the files I'm editing are either .php or .phtml, so I don't fault it for assuming I should be using HTML tags. How can...

How can I get intellisense in PHP/Eclipse on custom objects pulled out of array in foreach loop?

I have a collection of custom objects (Podcast) in an array. When I use a foreach loop to iterate through this collection, I don't have code completion on the variable that contains the object pulled out of the collection (as I would in C#/VisualStudio for instance). Is there a way to give PHP a type hint so that Eclipse knows the type...

How can I get Visual Studio's "create method stub" feature in Eclipse/Helios/PHP?

I'm working in Eclipse/PHP and miss a feature I use often in Visual Studio: in my code I call a method as if it existed and Visual Studio instantly gives me a drop down to "create method stub". I've tried writing the method in PHP/Eclipse and the pressing CTRL-1 but it doesn't allow me to do this as this stackoverflow question indicated...

Emacs/TextMate code completion for Erlang?

ESense looks dead; what are your recommendations for Erlang code completion in Emacs? It doesn't have to be fancy (ESense built an index from the Erlang source); even something that just uses Erlang's module_info/0 and module_info/1 functions for introspection of function names would help. If one isn't available in Emacs, can you recomm...

Code Completion for private/protected member variables when using magic __get()

How do I setup code completion to work on Zend Studio (or any Eclipse based IDE) when working with a class that has private or protected member variables WITHOUT resorting to a bunch of Getter's OR setting the member vars as public. For example: class Dog { protected $bark = 'woof!'; public function __get($key) { if (...

NetBeans Code Completion color change

Hi, is there a way to manipulate colors of code completion popup (ctrl+space) in NetBeans, the background color is inherited from windows theme, so if it is black, the popup will be black.... ...

Is it possible to auto-complete parentheses or quotation marks in emacs?

I've used XCode and Netbeans, and I've noticed that they have a feature to automatically complete quotation marks or parentheses (and I assume that other IDEs often do this also). I don't know what the name of this feature is, but is there any way to do this in Emacs? For example, when I type printf(" I would like it to automatically...