plugin-development

Eclipse Plugin Dev: How do I get the paths for the currently selected project?

I'm writing a plugin that will parse a bunch of files in a project. But for the moment I'm stuck searching through the Eclipse API for answers. The plugin works like this: Whenever I open a source file I let the plugin parse the source's corresponding build file (this could be further developed with caching the parse result). Getting th...

Reading from a http-get presenting in Firefox bookmarks

I'm trying to get a Firefox plugin to read data from a HTTP get, parse the results and present them as links in a bookmark-like drop-down menu. My quesion then is: Does anyone have any sample code that will do this? ...

Customizing Visual Studio

I have been working with Visual Studio (WinForm and ASP.NET applications using mostly C#) for several months now. For the most part my IDE is set up fairly standard but I have been wondering what are some suggestions in terms of plugins/settings that you find to be the most useful? Update: Thanks for all the great suggestions. It look...

What's safe for a C++ plug-in system?

Plug-in systems in C++ are hard because the ABI is not properly defined, and each compiler (or version thereof) follows its own rules. However, COM on Windows shows that it's possible to create a minimal plug-in system that allows programmers with different compilers to create plug-ins for a host application using a simple interface. L...

Resources for building a Visual Studio plug-in?

Hi, I'd like to build a pretty simple plug-in for Visual Studio, but I don't really know how this has to be done. Is this doable in (non-managed) C++? I'd like to know what resources you'd recommend me... Thanks. ...

What are the best resources to get started with Eclipse plugin development?

I'm interested in writing eclipse plugins where do I start? What resources have helped you? I'm looking for: 1. Tutorials 2. Sites devoted to plugin development 3. Books ...

Good Ways to Use Source Control and an IDE for Plugin Code?

What are good ways of dealing with the issues surrounding plugin code that interacts with outside system? To give a concrete and representative example, suppose I would like to use Subversion and Eclipse to develop plugins for WordPress. The main code body of WordPress is installed on the webserver, and the plugin code needs to be avail...

Best way to write a Safari 4 Extension [obsolete]

What is the best way to write a Safari extension? I've written a couple XUL extensions for Firefox, and now I'd like to write versions of them for Safari. Is there a way that would allow you to add buttons or forms to the browser UI, since this is not possible with an Input manager or Service menu? UPDATE: The best way to write a Safari...

What is the best way of speccing plugins with RSpec?

I'm creating a plugin, and am looking to use RSpec so I can build it using BDD. Is there a recommended method of doing this? ...

Outlook Plug-In for custom CRM

I would like to write a plug-in that will allow a custom written CRM to read and write to their local Outlook client. I know that this poses a security concern. But, my clients are asking that their CRM "be connected" to Outlook. They would like to be able to do the following: A) When a contact sends them an email (reply or free stan...

How to test with RSpec a Rails plugin using "link_to" and "current_page?"

I'm writing a Rails plugin that builds up a menu in a view. I'm using link_to to build the link and *current_page?* to set class="active" on the current page. I've included ActionView::Helpers::UrlHelper so I can use link_to. To get current_page? working in the view, I've had to inherit the current class (apparently ActionView::Base) a...

How to convert JspxIncludePathReferenceProvider for IntelliJ IDEA 8

I wrote an IntelliJ IDEA plugin for version 7.0 that uses JspxIncludePathReferenceProvider to allow autocomplete in a custom JSP tag (e.g. dsp:include src="/path/to/file.jsp"). The new version 8 of IntelliJ has changed the API for the Reference providers and I can't figure out how to convert this plugin for the new API. Any suggestions...

How do you unit-test a plug-in to an application?

When developing a plug-in to application, using the application API which doesn't run independently of the application, is unit-testing even a possibility? What are strategies to test a plug-in that is tightly integrated with an application? ...

GOOD tutorial for writing Maven plugins?

Can someone please recommend a GOOD online tutorial for writing maven2 plugins? I looked at about 5 tutorials yesterday and each skipped steps, didn't tell you where key components (referenced in the tutorial) were supposed to go or how to install the plugin you wrote. Futher, many didn't reference which version of maven they worked ...

Find composite location on screen

I am implementing a on screen keyboard in Java for SWT and AWT. One important thing is to move the keyboard to a position where the selected text field can show and is not lying behind the on screen keyboard. For AWT i can detect the position of the current selected component with Component owner = KeyboardFocusManager.getCurrentKeyboa...

How to find out what Eclipse is doing in backround?

OS X 10.5.6. My Eclipse 3.4 is going crazy lately. After innocent operations like typing text or moving some files in Navigator view or saving, it sometimes starts "waiting on background operation", and eats one CPU core, shuffling back and forth tens of megabytes of memory. I suspect some of plug-ins went rogue. How can I find whic...

Has anyone seen a tutorial of building a Cocoa Touch plug-in for Interface Builder

Does anyone know where I can find an example or a tutorial of building a Cocoa Touch plug-in for Interface Builder? ...

dll "drop in" architecture using Castle Windsor & MicroKernel

I'd like to create a framework that uses IoC without needing any configuration: So instead of (adjusted from http://www.castleproject.org/container/gettingstarted/part1/code.html): IWindsorContainer container = new WindsorContainer(); container.AddComponent("someinterface", typeof(ISomeInterface)); ISomeInterface component = (ISomeInte...

Customizability of the IDEs

I am thinking of modifying an existing IDE (Ex : By developing a plugin) to provide support for a proprietary scripting language. I just need to implement few features like syntax highlighting, Autocompleting etc. (i.e the requirements are really simple). What would be the best IDE or Text editor to integrate the feature. As an example i...

Getting Bundle [] in Eclipse of all the bundles

I am writing an application that uses Equinox as my OSGi framework. I am trying to discover all of the bundles that are known at the time that my bundle is registered. I attempted to use the following line to retrieve all of the available bundles. However, EclipseStarter.getSystemBundleContext().getBundles(); gives me a warning of....