An editor where one can execute blocs of code?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

An editor where one can execute blocs of code?

Emmanuel Levy
Hi All,

I was wondering if there is a way to work on some imageJ code with
another editor than the text window? I have seen and installed the IJ
editor, but it seems not to have the functionalities I was searching
for, i.e., execute a line or bloc of code for example. Maybe I missed
something.

Thanks for any information.

Emmanuel
Reply | Threaded
Open this post in threaded view
|

Re: An editor where one can execute blocs of code?

dscho
Hi,

On Tue, 17 May 2011, Emmanuel Levy wrote:

> I was wondering if there is a way to work on some imageJ code with
> another editor than the text window? I have seen and installed the IJ
> editor, but it seems not to have the functionalities I was searching
> for, i.e., execute a line or bloc of code for example. Maybe I missed
> something.

There is Fiji's Script Editor:

        http://pacific.mpi-cbg.de/Script_Editor

It offers running just the selection (and much more).

Technically, it is possible to run the editor in plain ImageJ, but you'd
have to install a lot of .jar files.

Ciao,
Johannes
Reply | Threaded
Open this post in threaded view
|

Re: An editor where one can execute blocs of code?

Thomson Neil (EAST KENT HOSPITALS UNIVERSITY NHS FOUNDATION
              TRUST)
In reply to this post by Emmanuel Levy
Hi

To execute code one line at a time, one probably needs to use a debugger. IMHO the best way to do this is to download Eclipse for Java developers<http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/heliossr2> and follow one of the Image-J/Eclipse tutorials on the Wiki (perhaps try this one<http://imagejdocu.tudor.lu/doku.php?id=howto:plugins:the_imagej_eclipse_howto>). If you've not used an IDE like Eclipse before, the help feature has some good tutorials.

Neil


Neil Thomson,
Nuclear Medicine Physics Section,
Medical Physics,
Kent and Canterbury Hospital,
UK. CT1 3NG
+44 (0) 1227 766877
________________________________________
From: ImageJ Interest Group [[hidden email]] On Behalf Of Emmanuel Levy [[hidden email]]
Sent: 18 May 2011 02:13
To: [hidden email]
Subject: An editor where one can execute blocs of code?

Hi All,

I was wondering if there is a way to work on some imageJ code with
another editor than the text window? I have seen and installed the IJ
editor, but it seems not to have the functionalities I was searching
for, i.e., execute a line or bloc of code for example. Maybe I missed
something.

Thanks for any information.

Emmanuel
********************************************************************************************************************

This message may contain confidential information. If you are not the intended recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.

Thank you for your co-operation.

NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be accessed anywhere
For more information and to find out how you can switch, visit www.connectingforhealth.nhs.uk/nhsmail

********************************************************************************************************************
Reply | Threaded
Open this post in threaded view
|

Re: An editor where one can execute blocs of code?

Alistair MacDougall
Emmanuel,

I have recently used the tutorial quoted by Neil to explore ImageJ plugins
in Eclipse, and agree this works very well, especially because of the
detailed help Eclipse gives on what is happening in your code. However, the
script editor in Fiji which Johannes Schindelin mentions also looks very
helpful.

regards

Alistair MacDougall



-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
Thomson Neil (EAST KENT HOSPITALS UNIVERSITY NHS FOUNDATION TRUST)
Sent: 18 May 2011 09:42
To: [hidden email]
Subject: Re: An editor where one can execute blocs of code?

Hi

To execute code one line at a time, one probably needs to use a debugger.
IMHO the best way to do this is to download Eclipse for Java
developers<http://www.eclipse.org/downloads/packages/eclipse-ide-java-develo
pers/heliossr2> and follow one of the Image-J/Eclipse tutorials on the Wiki
(perhaps try this
one<http://imagejdocu.tudor.lu/doku.php?id=howto:plugins:the_imagej_eclipse_
howto>). If you've not used an IDE like Eclipse before, the help feature has
some good tutorials.

Neil


Neil Thomson,
Nuclear Medicine Physics Section,
Medical Physics,
Kent and Canterbury Hospital,
UK. CT1 3NG
+44 (0) 1227 766877
________________________________________
From: ImageJ Interest Group [[hidden email]] On Behalf Of Emmanuel Levy
[[hidden email]]
Sent: 18 May 2011 02:13
To: [hidden email]
Subject: An editor where one can execute blocs of code?

Hi All,

I was wondering if there is a way to work on some imageJ code with
another editor than the text window? I have seen and installed the IJ
editor, but it seems not to have the functionalities I was searching
for, i.e., execute a line or bloc of code for example. Maybe I missed
something.

Thanks for any information.

Emmanuel
****************************************************************************
****************************************

This message may contain confidential information. If you are not the
intended recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or
take any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.

Thank you for your co-operation.

NHSmail is the secure email and directory service available for all NHS
staff in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive
information with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be
accessed anywhere
For more information and to find out how you can switch, visit
www.connectingforhealth.nhs.uk/nhsmail

****************************************************************************
****************************************
Reply | Threaded
Open this post in threaded view
|

Re: An editor where one can execute blocs of code?

Emmanuel Levy
Hello,

I have started with the Fiji editor which is quite good actually, and
if I become more serious I'll use Eclipse.
This is very helpful, thanks a lot to all of you for your suggestions.

Emmanuel



On 18 May 2011 06:17, Alistair MacDougall <[hidden email]> wrote:

> Emmanuel,
>
> I have recently used the tutorial quoted by Neil to explore ImageJ plugins
> in Eclipse, and agree this works very well, especially because of the
> detailed help Eclipse gives on what is happening in your code. However, the
> script editor in Fiji which Johannes Schindelin mentions also looks very
> helpful.
>
> regards
>
> Alistair MacDougall
>
>
>
> -----Original Message-----
> From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
> Thomson Neil (EAST KENT HOSPITALS UNIVERSITY NHS FOUNDATION TRUST)
> Sent: 18 May 2011 09:42
> To: [hidden email]
> Subject: Re: An editor where one can execute blocs of code?
>
> Hi
>
> To execute code one line at a time, one probably needs to use a debugger.
> IMHO the best way to do this is to download Eclipse for Java
> developers<http://www.eclipse.org/downloads/packages/eclipse-ide-java-develo
> pers/heliossr2> and follow one of the Image-J/Eclipse tutorials on the Wiki
> (perhaps try this
> one<http://imagejdocu.tudor.lu/doku.php?id=howto:plugins:the_imagej_eclipse_
> howto>). If you've not used an IDE like Eclipse before, the help feature has
> some good tutorials.
>
> Neil
>
>
> Neil Thomson,
> Nuclear Medicine Physics Section,
> Medical Physics,
> Kent and Canterbury Hospital,
> UK. CT1 3NG
> +44 (0) 1227 766877
> ________________________________________
> From: ImageJ Interest Group [[hidden email]] On Behalf Of Emmanuel Levy
> [[hidden email]]
> Sent: 18 May 2011 02:13
> To: [hidden email]
> Subject: An editor where one can execute blocs of code?
>
> Hi All,
>
> I was wondering if there is a way to work on some imageJ code with
> another editor than the text window? I have seen and installed the IJ
> editor, but it seems not to have the functionalities I was searching
> for, i.e., execute a line or bloc of code for example. Maybe I missed
> something.
>
> Thanks for any information.
>
> Emmanuel
> ****************************************************************************
> ****************************************
>
> This message may contain confidential information. If you are not the
> intended recipient please inform the
> sender that you have received the message in error before deleting it.
> Please do not disclose, copy or distribute information in this e-mail or
> take any action in reliance on its contents:
> to do so is strictly prohibited and may be unlawful.
>
> Thank you for your co-operation.
>
> NHSmail is the secure email and directory service available for all NHS
> staff in England and Scotland
> NHSmail is approved for exchanging patient data and other sensitive
> information with NHSmail and GSi recipients
> NHSmail provides an email address for your career in the NHS and can be
> accessed anywhere
> For more information and to find out how you can switch, visit
> www.connectingforhealth.nhs.uk/nhsmail
>
> ****************************************************************************
> ****************************************
>