{"id":15523857,"url":"https://github.com/leihuazhe/scala_scala3_samples","last_synced_at":"2026-05-17T14:34:02.857Z","repository":{"id":39449039,"uuid":"166801544","full_name":"leihuazhe/scala_scala3_samples","owner":"leihuazhe","description":"scala_samples","archived":false,"fork":false,"pushed_at":"2022-08-25T15:11:04.000Z","size":1296,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T09:17:47.997Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leihuazhe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-21T11:19:17.000Z","updated_at":"2022-06-24T09:54:27.000Z","dependencies_parsed_at":"2023-01-16T18:01:29.505Z","dependency_job_id":null,"html_url":"https://github.com/leihuazhe/scala_scala3_samples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leihuazhe/scala_scala3_samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leihuazhe%2Fscala_scala3_samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leihuazhe%2Fscala_scala3_samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leihuazhe%2Fscala_scala3_samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leihuazhe%2Fscala_scala3_samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leihuazhe","download_url":"https://codeload.github.com/leihuazhe/scala_scala3_samples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leihuazhe%2Fscala_scala3_samples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33142211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T10:47:18.217Z","updated_at":"2026-05-17T14:33:59.769Z","avatar_url":"https://github.com/leihuazhe.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scala3 学习专栏\n\n- https://www.zhihu.com/people/maple-3-71/posts\n- https://www.jianshu.com/u/dafae09a632e\n\n//scala3格式化 配置方式: https://scalameta.org/scalafmt/docs/configuration.html\n\n## metals\n\nmetals completions not work in scala3,why?\n- https://www.reddit.com/r/scala/comments/s9t702/metals_code_completion_not_working_as_of_jan_2022/\n\n\n#### 本地调试:\n\n    sbt -jvm-debug 5005 run\n\n#### Marco 调试\n    sbt -J-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005\n\n#### 指定不同的配置文件:\n\n    sbt -Dconfig.resource=application-private.conf -jvm-debug 5005 run\n\n### 使用 build.sbt 来定义依赖关系\n\n```scala\nname := \"scala-sum\"\n\nversion := \"0.1\"\n\nscalaVersion := \"2.12.4\"\n\nlibraryDependencies += \"mysql\" % \"mysql-connector-java\" % \"5.1.38\"\n\n// https://mvnrepository.com/artifact/com.alibaba/fastjson\nlibraryDependencies += \"com.alibaba\" % \"fastjson\" % \"1.2.7\"\n\nlibraryDependencies += \"com.github.wangzaixiang\" %% \"scala-sql\" % \"2.0.6\"\n\nlibraryDependencies ++= Seq(\n  \"org.slf4j\" % \"slf4j-api\" % \"1.7.9\",\n  \"org.scala-lang\" % \"scala-reflect\" % scalaVersion.value,\n\n  \"com.h2database\" % \"h2\" % \"1.4.184\" % \"test\",\n  \"junit\" % \"junit\" % \"4.12\" % \"test\",\n  \"ch.qos.logback\" % \"logback-classic\" % \"1.1.3\" % \"test\",\n  \"mysql\" % \"mysql-connector-java\" % \"5.1.38\" % \"test\"\n)\n```\n\n### Marco\n\n- https://github.com/lampepfl/scala3-macro-tutorial\n\n### Scala3 good Question\n\n- https://stackoverflow.com/questions/68194436/parsing-scala-3-code-from-a-string-into-scala-3-ast-at-runtime\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleihuazhe%2Fscala_scala3_samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleihuazhe%2Fscala_scala3_samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleihuazhe%2Fscala_scala3_samples/lists"}