VipplarN
VipplarN
DDeno
Created by VipplarN on 4/20/2025 in #help
Intellij - Not so great experience
Hey 👋 I'm running into a rough time using Deno with IntelliJ. Features like go to definition and syntax highlighting aren't working at all for packages imported from JSR. I've tried a few examples, and none of them seem to work:
import { build, emptyDir, BuildOptions } from 'jsr:@deno/dnt';
import { Hono } from 'jsr:@hono/hono';
import { encodePNG } from 'jsr:@img/png';
import { build, emptyDir, BuildOptions } from 'jsr:@deno/dnt';
import { Hono } from 'jsr:@hono/hono';
import { encodePNG } from 'jsr:@img/png';
In contrast, things work much better for NPM packages — for example, json-schema-to-typescript has both highlighting and definitions working perfectly. But @openapi-contrib/openapi-schema-to-json-schema doesn't seem to work. We also use GitHub packages internally at my company. When importing one of those, go to definition surprisingly worked — but no syntax highlighting 🫠 For what it's worth, I tried the same imports in VS Code and had none of these issues. Anyone else run into this or found a workaround? Perhaps someone out there have some experience debugging Intelijj Plugins?
2 replies