当前位置:网站首页>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
边栏推荐
- Extract the file name under the folder under win
- C cat and dog
- 2022 certified surveyors are still at a loss when preparing for the exam? Teach you how to take the exam hand in hand?
- MySQL Architecture
- [stm32+esp8266 connects to Tencent cloud IOT development platform 3] stm32+esp8266-01s dynamically registers devices on Tencent cloud (at instruction mode) -- with source code
- Senior programmers must know and master. This article explains in detail the principle of MySQL master-slave synchronization, and recommends collecting
- Jisuan Ke - t3104
- New potential energy of industrial integration, Xiamen station of city chain technology digital summit successfully held
- B_QuRT_User_Guide(38)
- Right click the idea file to create new. There is no solution to create new servlet
猜你喜欢
S2b2b mall solution of intelligent supply chain in packaging industry: opening up a new ecosystem of e-commerce consumption
Lm12 rolling heikin Ashi double K-line filter
KeePass realizes automatic input of web pages
UIC564-2 附录4 –阻燃防火测试:火焰的扩散
Solution of intelligent supply chain collaboration platform in electronic equipment industry: solve inefficiency and enable digital upgrading of industry
SAP HR奖罚信息导出
一份假Offer如何盗走了「Axie infinity」5.4亿美元?
Open source hardware small project: anxinco esp-c3f control ws2812
B_QuRT_User_Guide(36)
[experiment sharing] log in to Cisco devices through the console port
随机推荐
postgis学习
May day d-light
UIC564-2 附录4 –阻燃防火测试:火焰的扩散
平衡二叉樹【AVL樹】——插入、删除
FPGA basics catalog
Arbre binaire équilibré [Arbre AVL] - Insérer et supprimer
B_QuRT_User_Guide(39)
Progress broadcast | all 29 shield machines of Guangzhou Metro Line 7 have been launched
【实验分享】通过Console口登录到Cisco设备
关于CH32库函数与STM32库函数的区别
May day C - most
解析token的网址
Flash encryption process and implementation of esp32
B_QuRT_User_Guide(36)
The file format and extension of XLS do not match
Balanced binary tree [AVL tree] - insert, delete
Senior programmers must know and master. This article explains in detail the principle of MySQL master-slave synchronization, and recommends collecting
Open source hardware small project: anxinco esp-c3f control ws2812
【7.5】15. 三数之和
数据库面试题+解析