typelevel / typelevel/skunk

[Request] Add macro support for intellij

Open
#286 3 comments 5 reactions 0 assignees View on GitHub

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:

  1. Defining an intellij macro expansion/typing extension.
  2. Publishing those extensions as a jar with some metadata in the manifest
  3. Modifying the META-INF section 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.