当前位置:网站首页>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
边栏推荐
- B_QuRT_User_Guide(36)
- BSS 7230 航空内饰材料阻燃性能测试
- Summary of common methods of object class (September 14, 2020)
- SRM supplier cloud collaborative management platform solution for building materials industry to realize business application scalability and configuration
- Access database query all tables SQL
- FPGA basics catalog
- c—线性表
- Navicat connects Oracle
- Live-Server使用
- Where are you going
猜你喜欢
B_ QuRT_ User_ Guide(36)
Home appliance industry channel business collaboration system solution: help home appliance enterprises quickly realize the Internet of channels
As a new force, chenglian premium products was initially injected, and the shares of relevant listed companies rose 150% in response
[stm32+esp8266 connect Tencent cloud IOT development platform 2] stm32+esp8266-01s connect Tencent cloud
【实验分享】通过Console口登录到Cisco设备
Given an array, such as [7864, 284, 347, 7732, 8498], now you need to splice the numbers in the array to return the "largest possible number."
postgis学习
【LeetCode】20、有效的括号
Understand TCP's three handshakes and four waves with love
Installing gradle
随机推荐
archery安装测试
Extended tree (I) - graphic analysis and C language implementation
Dataguard 主备清理归档设置
[experiment sharing] log in to Cisco devices through the console port
B / Qurt Utilisateur Guide (36)
MySQL Architecture
Summary of SQL single table query 2020.7.27
Access database query all tables SQL
【汇总】看过的一些Panel与视频
Wechat applet development beginner 1
P1055 [noip2008 popularization group] ISBN number
受限线性表
2022 Season 6 perfect children's model Shaanxi finals came to a successful conclusion
SAP HR 劳动合同信息 0016
Benchmarking Detection Transfer Learning with Vision Transformers(2021-11)
Enumeration, simulation, and sorting
StringUtils工具类
Lm12 rolling heikin Ashi double K-line filter
C cat and dog
数据库面试题+解析