首页 > 其他分享 >scala怎么退出

scala怎么退出

时间:2024-04-21 14:11:39浏览次数:16  
标签:怎么 reset help show scala file 退出 history

scala怎么退出

scala> :help  //查看帮助
All commands can be abbreviated, e.g., :he instead of :help.
:edit <id>|<line>        edit history
:help [command]          print this summary or command-specific help
:history [num]           show the history (optional num is commands to show)
:h? <string>             search the history
:imports [name name ...] show import history, identifying sources of names
:implicits [-v]          show the implicits in scope
:javap <path|class>      disassemble a file or class name
:line <id>|<line>        place line(s) at the end of history
:load <path>             interpret lines in a file
:paste [-raw] [path]     enter paste mode or paste a file
:power                   enable power user mode
:quit                    exit the interpreter
:replay [options]        reset the repl and replay all previous commands
:require <path>          add a jar to the classpath
:reset [options]         reset the repl to its initial state, forgetting all session entries
:save <path>             save replayable session to a file
:sh <command line>       run a shell command (result is implicitly => List[String])
:settings <options>      update compiler options, if possible; see reset
:silent                  disable/enable automatic printing of results
:type [-v] <expr>        display the type of an expression without evaluating it
:kind [-v] <expr>        display the kind of expression's type
:warnings                show the suppressed warnings from the most recent line which had any

scala> :quit   //使用冒号加quit命令退出
[root@master scala]# 

标签:怎么,reset,help,show,scala,file,退出,history
From: https://www.cnblogs.com/humlogs/p/18148886

相关文章

  • 1.对软件工程课程的希望及个人目标。2、软件工程是不是教会不怎么会写程序的人开发软
    对于软件工程课程,我的希望和个人目标如下:对软件工程课程的希望:1.我希望通过软件工程课程,深入理解并掌握常用的软件设计模式,能够运用到实际项目中。2.学习系统的软件需求分析方法,以便更好地理解用户需求。3.学习软件测试的基本方法和技术,能够编写测试用例,进行单元测试、集成测......
  • MySQL里 没有 boolean类型 怎么办?MySQL 里的 tinyint(1)
    之前我写的博客:https://www.cnblogs.com/del88/p/12538470.html由于之前的博客,没有使用markdown懒得重新排版了,重新写一篇;直接看AI给的答案吧:MySQL里没有boolean类型怎么办?在MySQL中,确实没有专门的boolean数据类型。不过,MySQL通常使用TINYINT(1)作为布尔值的替代。当使用T......
  • 什么是云渲染?云渲染平台怎么使用?云渲染怎么收费?
    什么是云渲染?云渲染是一种利用云计算技术提供的云端服务,用户可以将本地任务递交到远程服务器上,由远程计算集群协调和完成渲染,并将结果返回本地,最后用户可以在本地下载渲染结果。而实时云渲染则是云渲染的一种形式,它既保证了渲染质量,还可以实现实时渲染,使用户能够实时观察渲染效......
  • 3dmax材质编辑器崩溃怎么解决?3dmax渲染崩溃解决方法
    许多用户在更新版本后遭遇了一个共同的问题:一旦打开3dsMax的材质编辑器,程序就会崩溃。对此,众多用户感到困扰,不知道如何解决。下面我们以起来看看解决方法吧。3dmax材质编辑器崩溃解决方法1、登录到3dmax中,先开启渲染设置。2、选择【公用】【指定渲染器】,点击产品级,选择【V-R......
  • 软件工程是不是教会不怎么会写程序的人开发软件?你的观点?
    “Softwareengineering,ofcourse,presentsitselfasanotherworthycause,butthatiseyewash:ifyoucarefullyreaditsliteratureandanalysewhatitsdevoteesactuallydo,youwilldiscoverthatsoftwareengineeringhasacceptedasitscharter‘Howto......
  • 面试官:来说说vue3是怎么处理内置的v-for、v-model等指令?
    前言最近有粉丝找到我,说被面试官给问懵了。粉丝:面试官上来就问“一个vue文件是如何渲染成浏览器上面的真实DOM?”,当时还挺窃喜这题真简单。就简单说了一下先是编译成render函数、然后根据render函数生成虚拟DOM,最后就是根据虚拟DOM生成真实DOM。按照正常套路面试官接着会问vue......
  • 在pycharm里边怎么设置代码背景图的?
    大家好,我是Python进阶者。一、前言前几天在Python白银交流群【Kim】问了一个Python问题,然后他发出来的代码如下图所示:可以看到代码中有背景图,是不是看上去蛮高大上的?那么这个背景图是怎么加上去的呢?这里给大家介绍一下方法。二、实现过程这里【Kim】说到,这个是我vsode使用的......
  • Scala 集合(上)
    Scala集合概述集合本质上就是一个用于存储1个到多个数据的容器。在Scala中,集合可以分为三大类:Seq(序列),Set(集合)和Map(映射)。基于这三大类,衍生出来众多的子类序列:元素有序可重复集合:元素无序不可重复映射:键值对结构数据在Scala中,所有的集合都混入了Iterable特质,意味......
  • Scala h集合(下)
    Scala集合字符串Scala中字符串同样分为可变字符串和不可变字符串,不可变字符串使用String来定义,可变字符串使用的是StringBuilder来定义packagecom.fesco.stringobjectStringDemo{defmain(args:Array[String]):Unit={//可变字符串//Scala中既然将......
  • Oracle怎么增加表空间大小
    第一步:查看表空间的名字及文件所在位置selecttablespace_name,file_id,file_name,round(bytes/(1024*1024),0)total_spacefromdba_data_filesorderbytablespace_name第二步:增大所需表空间大小方法一:alterdatabasedatafile'表空......