Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6563453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:51:16+00:00 2026-05-25T13:51:16+00:00

Is there a way to execute a scala script from Eclipse with scala plugin?

  • 0

Is there a way to execute a scala script from Eclipse with scala plugin?

A scala script is a scala file which is executed line by line, without forcing you to write a main method. See the Description section in scala’s man page.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T13:51:16+00:00Added an answer on May 25, 2026 at 1:51 pm

    I know this question is ancient at this point, but on the off chance that someone is looking for the answer (as I was), here we go. This information is based on the beta 2.0.0.0 release of the Scala Eclipse Plug-in using Scala 2.8.2. I found 2 possible options available:

    The first option is to use the “Send Selection to Scala Interpreter” command which is bound to “Ctr+Shift+X” by default. This will take the current text selection in any Scala editor and send it to the interpreter for execution. It creates a new window in the same tab grouping as the Eclipse console. There does appear to be one issue with this in that you get the error “:3: error: value tools is not a member of package scala” at the end of the execution. This is an acknowledged issue and I found workarounds for Inteli-J, but not Eclipse.

    The second option (which is the one I’m currently using) is to create a new “Run Configuration” for the Scala interpreter. If go to “Run…Run Configurations” you should see “Scala Interpreter” listed as one of the launchers. You can create a new configuration for this launcher with all default options and when you run it you get the scala interpreter prompt in your console window. From here you can script to your hearts content. You should be able to get it to run script files this way as well, by defining the proper run configurations (though I haven’t done that yet).

    Hopefully this will be of some use to someone.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a good way to write F# scripts that execute stand-alone without compiling?
Is there a way to execute a full ASPX source file where the page
Is there a way to execute script when an UpdatePanel process is finished. I
Is there a way to select which TestMethods you want to execute in Visual
Is there a way to get the raw SQL string executed when calling PDOStatement::execute()
Is there any way to execute a scalar-valued function from within a Derived Column
Is there a way to execute java class from jmeter? I've packaged my class
Is there any way to execute Linux commands with c without using execlp() ,
Is there a way to launch the Scala shell and automatically execute the :load
Is there a way to execute SQL custom functions with Enterpise Library? I've tried

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.