IntelliJ IDEA建立 SBT專案
使用intellij idea建立sbt工程
上面方法是技術控的同學用的,請注意,還有更簡便的方法
其實簡單想一下便可知,作為IDE,它是能建立工程的,要是隻能用來開啟工程那也顯得太雞肋了吧。
建立方式:
file -> new -> project -> Scala-> SBT
選擇jdk SBT scala版本,下面的核取方塊可以預設
建立目錄結構
在工程根目錄下建立如下結構的目錄:
src/main/scala
src/main/java
src/test/scala
src/test/java
File -> Project Structure -> Modules
將src/main/java&scala設為souce目錄,把src/test/java&scala設為test目錄。
於是,sbt工程就建立好了,可以在裡面新增程式碼檔案了。
相關文章
- IntelliJ IDEA 建立Gradle/Java 專案IntelliJIdeaGradleJava
- 在IDEA中使用SBT構建工具建立SCALA專案Idea
- 2-2 Scala專案構建工具sbt和IntelliJ IDEA環境配置IntelliJIdea
- IntelliJ IDEA 建立Spring+SpringMVC+mybatis+maven專案IntelliJIdeaSpringMVCMyBatisMaven
- Idea intellij jdk 1.7通過maven建立Springboot專案IdeaIntelliJJDKMavenSpring Boot
- Intellij IDEA 安裝Scala外掛 + 建立Scala專案(Hello World!)IntelliJIdea
- Intellij IDEA 安裝Python外掛 + 建立Python專案(Hello World!)IntelliJIdeaPython
- Intellij IDEA 建立Web專案並在Tomcat中部署執行IntelliJIdeaWebTomcat
- IntelliJ IDEA如何新建專案HTMLIntelliJIdeaHTML
- sbt建立play framework(play!)scala web專案FrameworkWeb
- intellij IDEA建立檔案新增註釋模板IntelliJIdea
- 使用Intellij Idea編寫Spark應用程式(Scala+SBT)IntelliJIdeaSpark
- idea建立springboot專案IdeaSpring Boot
- idea建立web專案IdeaWeb
- idea建立javaweb專案IdeaJavaWeb
- idea 建立springboot專案IdeaSpring Boot
- IDEA建立Flink專案Idea
- Intellij Idea 將Java專案打包成jarIntelliJIdeaJavaJAR
- Idea 建立 父專案和子專案Idea
- 使用IDEA建立gradle專案IdeaGradle
- 使用IDEA建立springboot專案IdeaSpring Boot
- 使用idea上傳專案到碼雲(gitee)上 IntelliJ IDEAIdeaGiteeIntelliJ
- Windows IDEA 專案(Scala+Sbt、Scala+Maven)建立與遠端部署到Linux(遠端部署其它專案也適用)WindowsIdeaMavenLinux
- spring boot 建立web專案(IDEA)Spring BootWebIdea
- 1.idea建立springboot專案IdeaSpring Boot
- idea社群版建立web專案IdeaWeb
- IDEA建立動態Web專案IdeaWeb
- idea建立spring boot專案慢()IdeaSpring Boot
- IDEA建立SpringMVC+Gradle專案IdeaSpringMVCGradle
- SpringBoot專案在IntelliJ IDEA中實現熱部署Spring BootIntelliJIdea熱部署
- IntelliJ IDEA配置與搭建web專案入門使用IntelliJIdeaWeb
- IntelliJ IDEA新建JSP檔案IntelliJIdeaJS
- IDEA社群版(IDEA Community Edition)建立Springboot父子專案IdeaUnitySpring Boot
- 使用Intellij建立springboot專案Spring Initializr Error 403IntelliJSpring BootError
- IDEA建立SpringBoot專案(詳細教程)IdeaSpring Boot
- [Android]後端之路--intellij IDEA Maven專案的搭建(1)Android後端IntelliJIdeaMaven
- Intellij Idea下設定專案字符集編碼IntelliJIdea
- Java IntelliJ IDEA 不能顯示專案裡的檔案結構JavaIntelliJIdea
- IntelliJ Idea14 建立Maven多模組專案,多繼承,熱部署配置總結(一)IntelliJIdeaMaven繼承熱部署