List Info

Thread: Files opening in external editor.




Files opening in external editor.
country flaguser name
United States
2008-05-07 21:16:24
I have a project with python,HTML, and javascript files. The
python and HTML
files open correctly in eric4, but when I click on a
javascript file, it is
opened in an external editor. Is there a simple way to fix
this?

Thank you,

J. David Lee

_______________________________________________
Eric mailing list
Ericriverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/eric

Re: Files opening in external editor.
user name
2008-05-18 07:54:04
On Donnerstag, 8. Mai 2008, J. David Lee wrote:
> I have a project with python,HTML, and javascript
files. The python and
> HTML files open correctly in eric4, but when I click on
a javascript file,
> it is opened in an external editor. Is there a simple
way to fix this?
>
> Thank you,
>
> J. David Lee
>
> _______________________________________________
> Eric mailing list
> Ericriverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/eric

Which eric4 version are you using? What is the mime type of
javascript files? 
(It should start with text/...)

Regards,
Detlev
-- 
Detlev Offenbach
detlevdie-offenbachs.de
_______________________________________________
Eric mailing list
Ericriverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/eric

Re: Files opening in external editor.
country flaguser name
United States
2008-05-18 10:39:00
Detlev Offenbach <detlev...> writes:

> 
> On Donnerstag, 8. Mai 2008, J. David Lee wrote:
> > I have a project with python,HTML, and javascript
files. The python and
> > HTML files open correctly in eric4, but when I
click on a javascript file,
> > it is opened in an external editor. Is there a
simple way to fix this?
> >
> > Thank you,
> >
> > J. David Lee
> >
> > _______________________________________________
> > Eric mailing list
> > Eric...
> > http://www.riverbankcomputing.com/mailman/listinfo/eric
> 
> Which eric4 version are you using? What is the mime
type of javascript files? 
> (It should start with text/...)
> 
> Regards,
> Detlev


Detlev,

Thank you for your reply. I'm using eric 4.1.1(r1972), which
is the version in
the Ubuntu repositories. I don't understand what you mean by
mime type in this
context, the files are ascii text, on my local machine with
a .js extension.
Under "Project" -> "Filetype
Associations" I've set "*.js" as
"sources".

Some of the files, when double clicked in the
project-viewer, don't open at all,
and some open in an external editor. It looks like only
those files that start
with a c-style comment are opened.

Thank you,

J. David Lee 

_______________________________________________
Eric mailing list
Ericriverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/eric

Re: Files opening in external editor.
user name
2008-05-18 10:49:34
On Sonntag, 18. Mai 2008, johnl wrote:
> Detlev Offenbach wrote:
> > On Donnerstag, 8. Mai 2008, J. David Lee wrote:
> >> I have a project with python,HTML, and
javascript files. The python and
> >> HTML files open correctly in eric4, but when I
click on a javascript
> >> file, it is opened in an external editor. Is
there a simple way to fix
> >> this?
> >>
> >> Thank you,
> >>
> >> J. David Lee
> >>
> >>
_______________________________________________
> >> Eric mailing list
> >> Ericriverbankcomputing.com
> >> http://www.riverbankcomputing.com/mailman/listinfo/eric
> >
> > Which eric4 version are you using? What is the
mime type of javascript
> > files? (It should start with text/...)
> >
> > Regards,
> > Detlev
>
> Detlev,
>
> Thank you for your reply. I'm using eric 4.1.1(r1972),
which is the
> version in the Ubuntu repositories. I don't understand
what you mean by
> mime type in this context, the files are ascii text, on
my local machine
> with a .js extension. 

Check the file "/etc/mime.types" for the extension
"js". If the associated 
mime type entry doesn't look like "text/x-js"
(i.e. start with text), that is 
causing the problem. However, the behavior has been changed
in eric 4.2 
snapshot.

> Under "Project" -> "Filetype
Associations" I've 
> set "*.js" as "sources".
>
> Some of the files, when double clicked in the
project-viewer, don't open
> at all, 

Which ones?

> and some open in an external editor. It looks like only
those 
> files that start with a c-style comment are opened.
>
> Thank you,
>
> J. David Lee


Detlev
-- 
Detlev Offenbach
detlevdie-offenbachs.de
_______________________________________________
Eric mailing list
Ericriverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/eric

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )