extensions

Visual Studio 2010: How do I create and/or update a specific file within a Project from an Editor Extension?

I am working on extending the spell checker that has recently been updated on the code gallery: http://code.msdn.microsoft.com/spellCheckerSample I would like to update it so that the "ignore" list of words comes from CustomDictionary.xml, the same file that the static code analysis tools use. From within my VS 2010 editor extension, I...

Mercurial 1.5 pager on Windows

I'm trying to set the pager used for Mercurial but the output is empty, even if I specify the command in the [pager] section or as the PAGER environment variable. I noticed that the command provided is launched with cmd.exe. Is this the cause of empty output, and if yes, what is the right syntax? Environment: Mercurial 1.5, Mecurial 1....

Google Chrome Extensions: Passing user highlighted webpage text to a browser_action

Hi, I'm working on a Chrome extension where I need to pass highlighted text into a browser_action. I found the following code in a Google Group, and at the time it was written it was still valid - but it doesn't work anymore.. Does anyone know an alternative solution? background.html: <html> <head> <script type="text/javascript"...

Is there a place I can find all the extensions of PHP?

Now I'm seeking of php_pdo_mysql.dll version 5.2.5.5, only found this: http://dllcentral.com/php_pdo_mysql.dll/5.2.5.5/ But my zend studio 5.5 says it's invalid! Is there any other place I can try my luck? ...

in jQuery what is the difference between $.myFunction and $.fn.myFunction ?

I'm delving into writing plugins for jQuery and I'm trying to understand the distinction between $.f and $.fn.f I've seen pluggin authors use both, or sometimes assign $.f = $.fn.f Can someone explain this to me, reasoning, benefits, etc? ...

Chrome Extension: onclick extension icon, open popup.html in new tab

I have created a chrome extension and managed to open the popup.html file using window.open. however I want to open it in a new tab, I've tried lots of different ways including: <script type="text/javascript" language="JavaScript"> chrome.tabs.create('url': 'popup.html'); Am I just placing the code in the wrong place or is it the wr...

Enforce file filters in JFileChooser

How can I enforce the JFileChooser filetype (when saving). I have implemented a file filter (CSV filetype) but it does not in any way enforce the file extension on the user. I need the file chooser to append the file extension to the filename if the user has not done so. I am guessing that it would be possible to check fileChooser.getS...

How do I write extensions for dreamweaver cs4? What limitations are there on what extensions can do?

I use dreamweaver cs4 as my main php coding editor. I am wondering if anyone has any information on how exactly to write a dreamweaver extension? Also, what can / can't you do ? Specifically, I want to write an extension that will allow me to quickly search my file tree and then open a file, via a quick auto complete search box locate...

Class Plugins in PHP?

i just got some more questions while learning PHP, does php implement any built in plugin system? so the plugin would be able to change the behavior of the core component. for example something like this works: include 'core.class.php'; include 'plugin1.class.php'; include 'plugin2.class.php'; new plugin2; where core.class.php conta...

Chrome browser extensions: How to activate page action for all outgoing links of a certain page?

I would like my page action to be activated for all the outgoing links from a certain page. How might I go about doing that? I've gone over the docs to no avail. Any pointers would be appreciated! ...

File extensions

I am trying to open a file with file extension '.lib' (open file library) and (.dll) but i dont know what program application to open it with. any advice? Thanks ...

How disabling FrontPage Server Extensions 2002 (IIS 6.0) will affect my web applications ?

in other words, what happens when I enable/disable FrontPage Server Extensions 2002 ? knowing that I have asp.net web apps using .NET framework 1.1 and 2.0 thanks in advance ...

Mercurial extensions not working in Windows 7 x64?

We are test driving Mercurial at work. We don't want to have to enter our user/pass each time we interact with a repository, so we set up the mercurial_keyring extension. We: Installed Python 2.6.5 (32 or 64 bit, depending on the system) Installed setuptools (for easy_install.exe) easy_install keyring easy_install mercurial_keyring ...

equivalent of currentWindow.getBrowser().contentWindow; in chrome extensions

I m stuck. please help. I want an equivalent code of currentWindow.getBrowser().contentWindow; ...

chrome.extension.getExtensionTabs(); not giving results

can anybody help me. the sample code is function capturecurrent() { var win = chrome.extension.getExtensionTabs(); return win; } its not returning any domwindowarray. if i calculate win.length, it always gives me 0; ...

How to create file association with two program and making one default if both present?

I have to create file association for an extension with two programmes and if both programmes A and B are present then choose program A to open the file. If only B is present then choose program B to open the file. If you can give the wix code or else you can provide me with registry details. ...

Eclipse editor rightside-bar in visual studio

Hi! When programming in Eclipse I use small vertical bar on the right side of the editor. When I get errors, they are displayed as red boxes there so I can see if file contains errors and quickly jump to that place. Also warnings and other stuff is displayed there. Question: is there something similar for Visual Studio (2008)? It sounds...

How to re-render a page from a Google Chrome extension?

I'm new to writing extensions for Google Chrome. I want to make an extension that only runs on a few pages (that I'll choose) and re-renders their CSS after the page has loaded (ideally I would like something similar to what you can do with GM_addStyle in greasemonkey scripts). How can I accomplish this in a Chrome extension? ...

nautilus extesions using mono?

Is it possible to write nautilus extensions using mono? I seem to find only c and python references. ...

Profiling python C extensions

I have developed a python C-extension that receives data from python and compute some cpu intensive calculations. It's possible to profile the C-extension? The problem here is that writing a sample test in C to be profiled would be challenging because the code rely on particular inputs and data structures (generated by python control co...