VipplarNV
Denoโ€ข9mo agoโ€ข
2 replies
VipplarN

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';


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?
Was this page helpful?