notepadd++ configure Scala running environment

2019 Unicorn Enterprise Heavy Recruitment Standard for Python Engineers >>> hot3.png

Window7 notepadd++ configuration Scala operating environment

1. Install notepad++

2. Install nppexec plugin in notepad++

3. Download the latest version of Scala, unzip it to a directory, add SCALA_HOME to the environment variables, and verify scala in the console

4. Edit a Scala code in notepad++, save it and click once

Plug-in-"NppExec -" Execute... F6

Write in the pop-up window:

scala.bat $(FULL_CURRENT_PATH)

Use scala.bat because using scala directly will report the following error

scala C:\Users\qingfeng\AppData\Roaming\Notepad++\contextMenu.xml CreateProcess() failed with error code 2:
The system can not find the file specified.

Click to save the name scala

Then you can add the exec you just saved to the macro in the advanced options of NppExec

You can also add the following code to "Settings -> Edit Popup Menu"

<Item id="0"/>
<Item FolderName="Run as" PluginEntryName="NppExec" PluginCommandItemName="scala" />
<Item FolderName="Run as" PluginEntryName="NppExec" PluginCommandItemName="nodejs" />
<Item FolderName="Run as" PluginEntryName="NppExec" PluginCommandItemName="runruby" />

Then just right click on Run As

You can set a combination of shortcut keys for scala exec in the shortcut key management


Reprinted at: https://my.oschina.net/jingxing05/blog/286342

Intelligent Recommendation

Download and configure jQuery running environment

Download and configure jQuery running environment JQuery's official website download address:http://jquery.com "Download jQuery" in the upper right corner Three files available for download:...

Install IntelliJ IDEA and configure the scala development environment

First, download preparation Idea official download address:     https://www.jetbrains.com/idea/download/ I chose the community to install (free registration is not required), install ex...

windows install scala and configure environment variables

1. Download Scala Download address:http://www.scala-lang.org/download/all.html I downloaded scala-2.12.0.zip, unzip it directly, no installation required Second, configure environment variables Add sy...

Scala HelloWorld uses Intellij IDEA to configure the environment

Programming in Scala language in installed Interllij IDEA Configure scala's compilation environment    https://www.scala-lang.org/download/ Download the required version on the official webs...

Intellij idea configure scala development environment

1. Intellij idea configure scala development environment Solve PluginScala was not installed: No route to host  Plugin scala was not installed: connect timed out  Plugin Scala...

More Recommendation

Configure IDEA's Scala development environment on Windows 10

0. Preface Scala is a functional programming language, currently Spark uses this language for programming. Tools required: java environment IDEA scala sdk IDEA related configuration 1. Related steps C...

Install and configure Scala in Windows/Linux environment

Install and configure Scala in Windows environment: Jdk must be configured before installing and configuring Scala. Scala installation package download URL: http://www.scala-lang.org/download/, pull d...

Scala learning-install and configure environment variables

1. Download the scala2.11.8 version in the browser: https://www.scala-lang.org/download/2.11.8.html After the download is complete, click directly and continue to next until finish (the path after the...

Configure SBT in Windows environment and create Scala project

It is recommended to configure the environment variables of SBT in the Windows environment. (Development on windows is really more painful.) The specific steps are not mentioned, but the sbt/bin direc...

Configure the scala environment of the virtual machine on Linux

1. Download and install Scala Pass the downloaded installation package under Windows to the /home of the node on the virtual machine View virtual machine Unzip and put it in the specified directory &n...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top