[Request] Add macro support for intellij
Open
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 1.7k
- Forks
- 175
- Avg merge
- 5d 14h
- Merged PRs (30d)
- 9
Description
Currently intellij isn't able to know the types of the sql macro.
This can be fixed by:
- Defining an intellij macro expansion/typing extension.
- Publishing those extensions as a jar with some metadata in the manifest
- Modifying the
META-INFsection of skunk's jar to point at those extensions
(I know this is a "won't fix" from Rob, I'm just filing this here for someone else to work on)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the IntelliJ Scala Library Extensions documentation linked in the issue, then inspect skunk's jar and its META-INF section. Define the IntelliJ macro expansion and typing extension, publish it as a metadata-bearing jar, and update the jar reference so IntelliJ can load it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100