plugins

Using application settings across assemblies

I'm writing an application that includes a plugin system in a different assembly. The problem is that the plugin system needs to get application settings from the main app (like the directory to look for plugins). How is this done, or am I going about this the wrong way? Edit: I was encouraged to add some details about how the plugin ...

Rails Plugin: Paperclip Question

How can I prevent the image tag that calls the associated image from displaying if no image is associated with the record? <%= image_tag @agent.avatar.url %> ...gives me the text "Missing" if there is no image associated with that agent. I want to test to see there is an image available first, then render the above tag if the test re...

How to write a plugin for eclipse?

Hi, my question it's very easy, how I can write a plugin for eclipse? I've looked for documentation but unfortunately there is very little or it's poor, so can anyone recommend any articles? ...

Hungry Backspace in Eclipse?

In some editors there exist plugins implementing a feature called "hungry backspace" or "hungry delete". If this mode is active in a text editor then one hit to the backspace key will automatically delete all whitespace chars backwards from the current cursor position up to the first non-whitespace character. For example, this feature ...

Pluggable edit component in JQuery

I'm developing an editing component (iframe-based) in JQuery. My intention is to make it easy to extend the functionality of the editor through plug-ins. So for example, you might make a plug-in that puts wavy underlines underneath spelling mistakes, or allows images to be inserted, etc. I'm happy to work out the technicalities of this...

To Tool or Not To Tool: Visual Studio Plugin

My friend, Dave, and I have been talking about this, well mostly him, but I think it is an excellent question and has really got me pondering it lately. Basically the question is this "Should you (ab)use tools/plugins for visual studio or use only what VS offers." More or less thats the question. The thought behind this is that as a de...

How do I develop a plug-in for QtWebKit?

I am trying to develop a plug-in for QtWebkit. But I am not able to find how to develop a plugin for QtWebKit, hopefully one that can be invoked by JavaScript. Does anyone know of any tutorials or documents that explain how to do this? Webkit has been intregated into Qt and this integrated package is called QtWebkit. They have provided...

"Automatic updates" of java (desktop) application

What system do you recommend for implementing "automatic updates" for some java (desktop) application? I'd also want to have module/plugin installation and update. Think Eclipse and Firefox. I'm aware of Eclipse RCP's OSGi stuff, and also NetBeans RCP has something here. Do one have to buy wholly into their respective RCP stuff to use t...

Can I stop settings in vimrc from being overwritten by plugins?

This question follows on from this vim search question I have a setting in my .vimrc which excludes $ as a valid part of a word: set iskeyword-=$ This works fine for most files but isn't working in PHP. I assume it is being overwritten by a php plugin, but since plugins are loaded after .vimrc I can't work out how to overwrite this s...

Create plugins for python standalone executables

Hi, how to create a good plugin engine for standalone executables created with pyInstaller, py2exe or similar tools? I do not have experience with py2exe, but pyInstaller uses an import hook to import packages from it's compressed repository. Of course I am able to import dynamically another compressed repository created with pyInstall...

Changing default behavior in a C++ application with plugins

In short: what is the best way to design and implement a factory+plugin mechanism, so that plugins can replace objects in the main application. We have a code base from which we build our applications. The code base is fine for 70-95% of the applications, meaning that in each new application we need to change 5-30% of the default behavi...

Profiling QT application that uses plugins

I have a medium sized application written in c++ using QT. I wanted to profile things to see where my least performant code was so I compiled everything with -pg. However, my application makes use of a lot of plugins using the QTPlugin mechanism (boils down to a dlopen and a dlsym of a instance object per plugin). I've noticed that gpro...

Create an internet-explorer plugin

Hi, I'm having troubles finding resources on the net on how to create a plugin for IE (6 & 7). Do you happen to know good sites/tutorials on this subject? BTW, here's why I want to do this: we have a web app here that's linked with another; i.e. when on a certain page, you could launch a bookmarklet (bookmark with javascript) that would...

Designing extensible software (plugin architecture)

I need some resources that talk about how to design your software to be extensible, i.e. so that other people can write add-ons/plug-ins that adds functionality to it. What do you recommend? Any books out there that discuss the subject? I would prefer something that's short and to the point; a bit of theory and a bunch of concrete examp...

Using Ninject in a plugin like architecture

I'm learning DI, and made my first project recently. In this project I've implement the repository pattern. I have the interfaces and the concrete implementations. I wonder if is possible to build the implementation of my interfaces as "plugins", dlls that my program will load dynamically. So the program could be improved over time wit...

Where is the Visual Studio 2008 Crash Log?

I have Visual Studio 2008 with SP1 installed and it is crashing when I'm using lambda expressions in the Moq Framework. At first I thought the problem was Resharper...but now that I have uninstalled it, VS 2008 still crashes. I'm able to replicate the issue every time. I'm thinking perhaps it may be some other plugin that is causing th...

Runtime issues during developing an Eclipse Plugin

Right now, I am trying to create a plug-in of Eclipse which depends on other jar; therefore, I created a plug-in base on the jar and deployed it under my Eclipses' plugin foler. It works well when I start it from my working environment via an Eclipse. However, as soon as I have exported it into a jar and have deployed into Eclipse, it no...

Are there any good ssh consoles for Eclipse?

Hello: I'm looking for a good ssh console plugin for Eclipse, and can't find much at all. Would anyone have some good leads on one? ...

Plug-in architecture for ASP.NET MVC

I've been spending some time looking at Phil Haack's article on Grouping Controllers very interesting stuff. At the moment I'm trying to figure out if it would be possible to use the same ideas to create a plug-in/modular architecture for a project I'm working on. So my question is: Is it possible to have the Areas in Phil's article sp...

Change mirror of update sites of eclipse plugins

I'm using ganymede but I can't find the option to change mirror for the update sites. Is there a way to change this? ...