Re: problems associating Komodo with file extensionson Windows

Todd Whiteman <[email protected]> Wed, 30 May 2012 14:57:55 -0700
Newsgroups gmane.comp.ide.komodo.general
Message-ID <[email protected]>
On 12-05-25 09:51 AM, Myk Melez wrote:
> On 2012-02-29 11:27, Myk Melez wrote:
>> On 2012-02-29 11:17 , Robert Crowther wrote:
>>> This works for me:
>>>
>>> 1.Exit Komodo
>>>
>>> 2.Right click on your Komodo shortcut/icon/start menu entry and
>>> select =91Run as Administrator=92
>>>
>>> 3.Go to preferences and edit your settings, click apply
>>>
>>> 4.Exit, then start Komodo normally
>>>
>> Thanks for the tip! Unfortunately, when I tried this, it didn't work
>> for me. I no longer saw the error after pressing the "re-apply
>> settings to system" button, but the associations weren't made, neither
>> the ones I added via the "configure common associations..." dialog
>> (like .js) nor one I added manually via the Add... button (.json).
> Circling back around to this...
>
> This morning I uninstalled all versions of Komodo (I also had 5 and 6
> installed), then reinstalled Komodo 7; then I ran it as an administrator
> and reapplied the file associations.
>
> And things are now somewhat better. The Edit with Komodo action appears
> in the context menu of files. And I can choose Komodo from the "Open
> with..." dialog box.
>
> But some extensions still aren't configured. In particular, JSON files
> (.json extension) still open in Notepad (for both the Open and Edit
> items), even though I included .json in the list of extensions I
> associated with Komodo.

Hi Myk,

I couldn't reproduce any problems here when using Komodo 7, but one =

thing to note is that Komodo does not provide any "Open" customization, =

only default "Edit" and "Edit with" handling. I'm not sure why we don't =

also offer "Open" handling as well (I'll file a request on it).

I imagine this problem is occurring because Notepad is writing to the =

HKCU (current user) registry, whilst Komodo 7.0 is writing to the HKLM =

(local machine) registry... and in case of a conflict the HKCU (Notepad) =

will have priority.

Note that we've already made changes for the upcoming Komodo 7.1 release =

to remedy this HKLM v's HKCU issue.

In order to overwrite the Notepad association, you'll need to use =

Explorer and right-click on a .json file and then tweak the associations =

that way.

Cheers,
Todd

-- =

Todd Whiteman
Komodo Tech Lead

ActiveState: Code to Cloud: Smarter, Safer, Faster=99
http://www.activestate.com
Learn about Stackato for Private PaaS: http://www.activestate.com/stackato
_______________________________________________
Komodo-discuss mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-disc=
uss