https://github.com/tanishiking/semanticdb-for-scala3
Generates Scala codes from semanticdb.proto for Scala3 compiler
https://github.com/tanishiking/semanticdb-for-scala3
Last synced: 4 months ago
JSON representation
Generates Scala codes from semanticdb.proto for Scala3 compiler
- Host: GitHub
- URL: https://github.com/tanishiking/semanticdb-for-scala3
- Owner: tanishiking
- Created: 2021-06-08T17:40:42.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-10T21:52:41.000Z (12 months ago)
- Last Synced: 2025-03-09T03:07:16.691Z (4 months ago)
- Language: Scala
- Size: 138 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## semanticdb-for-scala3
The project that generates Scala codes from semanticdb.proto for Scala3 compiler. Context: https://github.com/scalameta/scalameta/issues/2367
- Generate Scala code from `semanticdb.proto` using Scalapb
- Adjust the generated codes for Scala3
- Remove `scalapb-runtime` dependencies so Scala3 doesn't need to depend on `scalapb-runtime`.
- Replace annotations `@transient` to `@sharable`, remove `SerialVersionUID`
- derive `CanEqual` for generaged class and traits.### Usage
- `clean-generated`: delete generated files.
- `generate`: generate Scala files and adjust them for Scala3 compiler.### Workflow
```bash
$ sbt
> clean
> clean-generated
> generate
```