[Eric] Any way to disable launching of javascript in external editor?

Detlev Offenbach detlev at die-offenbachs.de
Sun Oct 12 18:16:30 BST 2008


On Sonntag, 12. Oktober 2008, Mike C. Fletcher wrote:
> Detlev Offenbach wrote:
> > Hi,
> >
> > first of all I would like to recommend an update of eric4 because your
> > version is very old.
>
> Sigh, yes.  Unfortunately that would mean breaking out of the
> platform-maintained package and having to maintain the entire
> compile-chain myself.  I won't even mention that at work on Debian-Etch
> I have to use Eric 3.x :) .  Gentoo (at home) at least gets me onto Eric
> 4.2.0 :) .

You don't neccessarily have to maintain the whole compile-chain yourself. 
Depending on the installed versions, it might enough to just deinstall eric4 
and run the install.py script of the eric4 package.

>
> > Your problem is caused by a wrong mimetypes configuration of your
> > computer. It doesn't return "text/javascript" or something similiar.
>
> Apparently on Kubuntu Hardy the configuration is for
> application/x-javascript .  I configured it to be text/javascript with
> the result that I can now tell the shell (via Konquerer) to use Eric as
> the editor, but it opens in a separate Eric instance, not the one in
> which I'm browsing the project.
>
> > However, you can define files with the extension *.js to be sources and
> > they'll be opened in the editor.
>
> That was the key.  The projectfromworking.py script I use to generate
> project files from bzr/git/svn/cvs working directories wasn't specifying
> the sourceExtensions for javascript, java or C++.  Sorry for the noise,
> everyone.
>
> Take care,
> Mike



-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list