当前位置:网站首页>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
边栏推荐
- Interface
- Jisuan Ke - t3104
- Design and implementation of spark offline development framework
- As a new force, chenglian premium products was initially injected, and the shares of relevant listed companies rose 150% in response
- Oracle string sorting
- Fibonacci number of dynamic programming
- C inheritance and interface design polymorphism
- Digital procurement management system for fresh food industry: help fresh food enterprises solve procurement problems and implement online procurement throughout the process
- [stm32+esp8266 connect Tencent cloud IOT development platform 2] stm32+esp8266-01s connect Tencent cloud
- UIC564-2 附录4 –阻燃防火测试:火焰的扩散
猜你喜欢

The efficient s2b2c e-commerce system helps electronic material enterprises improve their adaptability in this way

进度播报|广州地铁七号线全线29台盾构机全部完成始发

激光slam学习(2D/3D、偏实践)

AITM3.0005 烟雾毒性测试

MySQL架构

Installing gradle

New potential energy of industrial integration, Xiamen station of city chain technology digital summit successfully held

B_QuRT_User_Guide(36)

Pycharm essential plug-in, change the background (self use, continuous update) | CSDN creation punch in

Benchmarking Detection Transfer Learning with Vision Transformers(2021-11)
随机推荐
USB (XVII) 2022-04-15
C cat and dog
The for loop realizes 1-100 addition and eliminates the 4-digit tail number
Understand TCP's three handshakes and four waves with love
2022注册测绘师备考开始 还在不知所措?手把手教你怎么考?
Installing gradle
Stringutils tool class
2022 certified surveyors are still at a loss when preparing for the exam? Teach you how to take the exam hand in hand?
【路径规划】使用垂距限值法与贝塞尔优化A星路径
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."
SLAM面试总结
一份假Offer如何盗走了「Axie infinity」5.4亿美元?
Interface
P2141 [noip2014 popularization group] abacus mental arithmetic test
【7.5】15. 三数之和
[untitled]
C simple question 2
KeePass realizes automatic input of web pages
Ora-02437 failed to verify the primary key violation
HDU - 1260 Tickets(线性DP)