EzDevInfo.com

ide interview questions

Top ide frequently asked interview questions

Eclipse/Java code completion not working

I've downloaded, unzipped and setup Eclipse 3.4.2 with some plugins (noteable, EPIC, Clearcase, QuantumDB, MisterQ).

Now I find when I'm editing Java projects the code completion is not working. If I type String. and press ctrl+space a popup shows "No Default Proposals" and the status bar at the bottom shows "No completions available".

Any ideas?


Source: (StackOverflow)

Best way to add Activity to an Android project in Eclipse?

When adding an activity to an existing Android project, I manually create a new class - is that the best / preferred way? How do others handle that?


Source: (StackOverflow)

Advertisements

Xcode 4 - build output directory

I have problems with setting up/locating my output files in Xcode4 (beta 5). They are placed somewhere in ~/Library/Developer/ugly_path/.... I can't even select "show in finder" on my products. It is the same for a simple C project, Foundation tool and even Cocoa bundle. A Debugging works fine.

Could you please point me out where and how to set up / build output directories? (I know it sounds dumb, I've been coding in Xcode3 for months, but I can't figure it out in Xcode4 beta).

Thanks a lot.


Source: (StackOverflow)

Visual Studio jump to next error shortcut?

When a compile fails in VB.NET in Visual Studio 2008, an Error List pops up at the bottom of the screen. To jump to an error, I double click on an error in the error list.

Is there a shortcut to automatically jump to the next error in the list? It gets a little bit tedious at times having to reach down and double click a list that I like to keep collapsed.


Source: (StackOverflow)

How to Select Columns in Editors (Notepad++, Kate, VIM, Sublime, Textpad,etc) and IDEs (NetBeans, IntelliJ IDEA, Eclipse, Visual Studio, etc)

How to select columns in Editors and IDEs to columnar delete, insert or replace some characters ?

Editors:

  • Notepad++
  • Kate
  • VIM
  • Sublime
  • Emacs
  • Textpad
  • Emerald Editor
  • UltraEdit
  • MCEdit
  • jEdit
  • Nedit

IDEs:

  • NetBeans
  • Eclipse
  • Visual Studio
  • IntelliJ IDEA
  • Flash Builder
  • Aptana Studio

Source: (StackOverflow)

How do I run Python code from Sublime Text 2?

I want to set up a complete Python IDE in Sublime Text 2.

I want to know how to run the Python code from within the editor. Is it done using build system? How do I do it ?


Source: (StackOverflow)

How to delete a module in Android Studio

Is there a way to delete a module within Android Studio? When I right click on a module I can't find an option for deletion, is it elsewhere?


Source: (StackOverflow)

What is the shortcut to Auto import all in Android Studio?

Is there any way of auto importing (like in Eclipse Shift+Ctrl+O) in Android Studio?

I have found only Ctrl+Alt+O which ask for each thing, and I have to press Alt+Enter to accept it.

No way to do it faster?


Source: (StackOverflow)

What IDE to use for Python?

What IDEs ("GUIs/editors") do others use for Python coding?


Source: (StackOverflow)

Eclipse: Set maximum line length for auto formatting?

I am working with Java. If I hit Ctrl+Shift+F in Eclipse Helios, it will auto format my code. At a certain point, it wraps lines. I would like to increase the maximum line length. How can I do this?


Source: (StackOverflow)

How to "Add Existing Item" an entire directory structure in Visual Studio?

I feel ridiculous for asking this because it seems like it should be so simple, however I have been unable to discover an answer to this question.

I have a free standing set of files not affiliated with any C# project at all that reside in a complicated nested directory structure. I want to add them in that format to a different directory in an ASP.NET web application I am working on; while retaining the same structure. So, I copied the folder into the target location of my project and I tried to “add existing item” only to lose the previous folder hierarchy. Usually I have re-created the directories by hand, copied across on a one-to-one basis, and then added existing items. There are simply too many directories/items in this case.

So how do you add existing directories and files in Visual Studio 2008?


Source: (StackOverflow)

Useful Eclipse Java Code Templates [closed]

You can create various Java code templates in Eclipse via the

Window->Preferences->Java -> Editor -> Templates

e.g.

sysout is expanded to:

System.out.println(${word_selection}${});${cursor}

You can activate this by typing sysout followed by CTRL+SPACE

What useful Java code templates do you currently use?
Include the name and description of it and why it's awesome.

There's an open bounty on this for an original/novel use of a template rather than a built-in existing feature.

  • Create Log4J logger
  • Get swt color from display
  • Syncexec - Eclipse Framework
  • Singleton Pattern/Enum Singleton Generation
  • Readfile
  • Const
  • Traceout
  • Format String
  • Comment Code Review
  • String format
  • Try Finally Lock
  • Message Format i18n and log
  • Equalsbuilder
  • Hashcodebuilder
  • Spring Object Injection
  • Create FileOutputStream

Source: (StackOverflow)

Why should I use an IDE? [closed]

In another question, Mark speaks highly of IDEs, saying "some people still just dont know "why" they should use one...". As someone who uses vim for programming, and works in an environment where most/all of my colleagues use either vim or emacs for all of their work, what are the advantages of IDEs? Why should I use one?

I'm sure this is a charged issue for some people, and I'm not interested in starting a flame war, so please only reply with the reasons you believe an IDE-based approach is superior. I'm not interested in hearing about why I shouldn't use an IDE; I already don't use one. I'm interested in hearing from "the other side of the fence", so to speak.

If you think that IDEs may be suitable for some types of work but not others, I'm also interested to hear why.


Source: (StackOverflow)

How to make phpstorm display line numbers by default?

How to make phpstorm display line numbers by default?
Couldn't find that option. It's kind of annoying to turn them on manually for each page.


Source: (StackOverflow)

IntelliJ tooltip shows JavaDocs

In Eclipse, hovering over a method, variable, etc displays a tooltip with the corresponding JavaDocs. Is there such a feature in IntelliJ?


Source: (StackOverflow)