当前位置:网站首页>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/central
sbt Source change ( Very important )
cd ~ mkdir .sbt cd .sbt
establish 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/sbtopts
Add at the end of the file :
-Dsbt.override.build.repos=true
coursier 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
边栏推荐
- HB 5469民用飞机机舱内部非金属材料燃烧试验方法
- 数据分析系列 之3σ规则/依据拉依达准则来剔除异常值
- Right click the idea file to create new. There is no solution to create new servlet
- Live server usage
- [summary] some panels and videos seen
- The for loop realizes 1-100 addition and eliminates the 4-digit tail number
- As a new force, chenglian premium products was initially injected, and the shares of relevant listed companies rose 150% in response
- Get started with mongodb
- UIC564-2 附录4 –阻燃防火测试:火焰的扩散
- 8.31 Tencent interview
猜你喜欢
postgis学习
Dataguard 主备清理归档设置
ASP. Net core middleware request processing pipeline
二叉排序树【BST】——创建、查找、删除、输出
0-1 knapsack problem
Benchmarking Detection Transfer Learning with Vision Transformers(2021-11)
Anxin vb01 offline voice module access intelligent curtain guidance
Wechat applet development beginner 1
Take you hand in hand to build Eureka server with idea
AITM3.0005 烟雾毒性测试
随机推荐
SAP HR social work experience 0023
Navicat connects Oracle
webflux - webclient Connect reset by peer Error
Dataguard 主备清理归档设置
Map operation execution process
数据分析系列 之3σ规则/依据拉依达准则来剔除异常值
Interface
Home appliance industry channel business collaboration system solution: help home appliance enterprises quickly realize the Internet of channels
【7.4】25. K 个一组翻转链表
Windows set redis to start automatically
Learn about scratch
Progress broadcast | all 29 shield machines of Guangzhou Metro Line 7 have been launched
【7.5】15. 三数之和
Summary of SQL single table query 2020.7.27
Fibonacci number of dynamic programming
Markdown
0-1背包问题
Dependency injection 2 advantage lifecycle
C - Fibonacci sequence again
SAP HR labor contract information 0016