当前位置:网站首页>Chisel tutorial - 00 Ex.scala metals plug-in (vs Code), SBT and coursier exchange endogenous
Chisel tutorial - 00 Ex.scala metals plug-in (vs Code), SBT and coursier exchange endogenous
2022-07-07 23:41:00 【github-3rr0r】
scala metals plug-in unit (VS Code)、sbt and coursier In other countries
stay Chisel During the learning process, I found that the learning efficiency was limited by the network speed , foreign maven Source number KB/S The speed of is really affecting the efficiency , So it took time to test and get the relevant source replacement method , Respectively for VS Code Medium scala metals plug-in unit 、sbt and courier.
VS Code in scala metals Plug in source change
Add a custom warehouse directly in the settings :
https://maven.aliyun.com/repository/centralsbt Source change ( Very important )
cd ~ mkdir .sbt cd .sbtestablish repositories file :
[repositories] local aliyun: https://maven.aliyun.com/repository/central/ sbt-plugin-repo: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]Modify the configuration file :
sudo vi /usr/share/sbt/conf/sbtoptsAdd at the end of the file :
-Dsbt.override.build.repos=truecoursier Source change ( In the build Chisel-bootcamp Local Notebook When using )
export COURSIER_REPOSITORIES="https://maven.aliyun.com/repository/public|https://maven.scijava.org/content/repositories/public"The following is used to replace the corresponding part of the installation steps :
./coursier bootstrap -i user -I user:sh.almond:scala-kernel-api_$SCALA_VERSION:$ALMOND_VERSION sh.almond:scala-kernel_$SCALA_VERSION:$ALMOND_VERSION --sources --default=true -o almond
边栏推荐
猜你喜欢
随机推荐
SAP HR奖罚信息导出
Come on, brother
Dataguard 主备清理归档设置
B_QuRT_User_Guide(39)
【7.4】25. Turn over the linked list in groups of K
Svn relocation
Enumeration, simulation, and sorting
SAP HR social work experience 0023
Stringutils tool class
Idea automatically generates serialVersionUID
激光slam学习(2D/3D、偏实践)
通达信买基金安全吗?
Display the server hard disk image to the browser through Servlet
【实验分享】通过Console口登录到Cisco设备
Progress broadcast | all 29 shield machines of Guangzhou Metro Line 7 have been launched
【7.4】25. K 个一组翻转链表
Right click the idea file to create new. There is no solution to create new servlet
ASP. Net core middleware request processing pipeline
Wechat applet development beginner 1
Take you hand in hand to build Eureka server with idea








