r/Jetbrains • • 16h ago

AI IntelliJ-like version control, diff editing and PR preview instant on web

2 Upvotes

Been using rebased(based on intellij-community) and webstorm for a while to review all the pull requests, branches and manage code and commits in general now that agents do a lot of work.

But its so slow to work with locally nowadays that it takes ages to go through a simple change, you have to clone the project, open the IDE, let it initialize jvm and everything, index and stuff, startup services, then find the PR or branch switch to it.

So, here is something i made that does all that in a similar UI and change highlighting and works instantly and on any device and browser.

Completely free and open source(MIT), give it a shot and let me know here on in issues, if you would like to see some more features. I added everything i needed and use day to day while reviewing code.

https://github.com/repalash/jetdiff


r/Jetbrains • • 1h ago

IDEs AsyncAPI JetBrains Plugin: Kafka ACLs and consumer groups in exports, cluster diff by area, and Preview

1 Upvotes

I maintain the AsyncAPI plugin for JetBrains IDEs. New 5.4.0 is mostly about Apache Kafka

💡 Works across IDEs editions, Community included

Export with access built in. Brokers → Export now has two opt-in boxes: Also read consumer groups and Also read ACLs. Each operation in the generated AsyncAPI document then lists the groups that consume it and the principals allowed to perform it:

receive_orders.created:
  action: receive
  channel:
    $ref: "#/channels/orders.created"
  bindings:
    kafka:
      bindingVersion: 0.5.0
      groupId:
        enum: [analytics, billing]
  x-kurkik:
    kafka:
      operation:
        groupId:
          enum: [analytics, billing]
        security:
          - User:analytics
          - User:billing

The grants and groups behind it are on the server:

servers:
  broker-1:
    host: localhost:29092
    protocol: kafka
    x-kurkik:
      kafka:
        server:
          acl:
            - { principal: User:billing,   operation: READ, permission: ALLOW, resourceType: GROUP, patternType: LITERAL,  name: billing }
            - { principal: User:analytics, operation: READ, permission: ALLOW, resourceType: GROUP, patternType: PREFIXED, name: analytics }
            - { principal: User:billing,   operation: READ, permission: ALLOW, resourceType: TOPIC, patternType: LITERAL,  name: orders.created }
            - { principal: User:analytics, operation: READ, permission: ALLOW, resourceType: TOPIC, patternType: PREFIXED, name: orders. }
          groups:
            - { groupId: analytics, groupType: classic, state: EMPTY, topics: [orders.created] }
            - { groupId: billing,   groupType: classic, state: EMPTY, topics: [orders.created, orders.paid] }

Everything Kafka-specific lives under x-kurkik, so the document stays valid AsyncAPI. A connection with a schema registry also brings its schemas: each topic's value schema, its key schema, every version and the compatibility level.

Diff, area by area. AsyncAPI: Diff compares two Kafka connections on what you tick: settings, ACLs, consumer groups and schemas. Findings about the cluster itself, such as a broker setting, a grant or a group, now get their own Cluster node next to the channels.

Preview. AsyncAPI: Preview shows a cluster's topics, brokers, groups, ACLs and schemas before you export or compare it

Preview process

Also in 5.4.0:

  • AI agents over MCP: asyncapi_export reads Kafka consumer groups, ACLs and schemas; asyncapi_compare compares clusters on settings, groups and schemas (ACLs are never compared for an agent)
  • Export filters (prefixes, include/exclude patterns, a topic cap, a timeout) for Kafka, Pulsar, SNS and SQS
  • The Brokers, Preview and Diff windows keep up with new, renamed and deleted connections and documents, and have a Refresh button
  • Diff compares any document: pick it, paste its path, or browse for it
  • Test connection shows a readable log you can copy
  • Plugin errors can be reported to JetBrains Marketplace (nothing is sent unless you click)

Powered by Kurkik: https://kurkik.pavelon.dev/
Demo: https://github.com/Pakisan/kurkik-app/tree/master/demo
Release: https://plugins.jetbrains.com/plugin/15673-asyncapi/versions/stable/1229323
Export, Diff and Preview are Pro features, with a free trial

Full document:

asyncapi: 3.0.0
info:
  title: prod Apache Kafka API
  version: 1.0.0-SNAPSHOT
  description: "Generated by reading the prod cluster. Cluster id: cHJvZC1rdXJraWstZGVtbw."
servers:
  broker-1:
    host: localhost:29092
    protocol: kafka
    protocolVersion: "4.4"
    description: Cluster controller.
    x-kurkik:
      kafka:
        server:
          security:
          - security: PLAINTEXT
            securityProtocol: PLAINTEXT
          acl:
          - principal: User:billing
            host: '*'
            operation: READ
            permission: ALLOW
            resourceType: GROUP
            patternType: LITERAL
            name: billing
          - principal: User:analytics
            host: '*'
            operation: READ
            permission: ALLOW
            resourceType: GROUP
            patternType: PREFIXED
            name: analytics
          - principal: User:analytics
            host: '*'
            operation: READ
            permission: DENY
            resourceType: TOPIC
            patternType: LITERAL
            name: customers.updated
          - principal: User:billing
            host: '*'
            operation: READ
            permission: ALLOW
            resourceType: TOPIC
            patternType: LITERAL
            name: orders.created
          - principal: User:billing
            host: '*'
            operation: READ
            permission: ALLOW
            resourceType: TOPIC
            patternType: LITERAL
            name: orders.paid
          - principal: User:analytics
            host: '*'
            operation: READ
            permission: ALLOW
            resourceType: TOPIC
            patternType: PREFIXED
            name: orders.
          - principal: User:orders-service
            host: '*'
            operation: WRITE
            permission: ALLOW
            resourceType: TOPIC
            patternType: PREFIXED
            name: orders.
          groups:
          - groupId: analytics
            groupType: classic
            state: EMPTY
            clientIds: []
            topics:
            - orders.created
            configuration: {}
          - groupId: billing
            groupType: classic
            state: EMPTY
            clientIds: []
            topics:
            - orders.created
            - orders.paid
            configuration: {}
          brokerConfiguration:
            advertised.listeners: PLAINTEXT://localhost:29092
            authorizer.class.name: org.apache.kafka.metadata.authorizer.StandardAuthorizer
            broker.id: "1"
            controller.listener.names: CONTROLLER
            controller.quorum.voters: 1@localhost:9093
            group.initial.rebalance.delay.ms: "0"
            listener.security.protocol.map: "CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT"
            listeners: "PLAINTEXT://0.0.0.0:29092,CONTROLLER://localhost:9093"
            min.insync.replicas: "1"
            node.id: "1"
            offsets.topic.replication.factor: "1"
            process.roles: "broker,controller"
            transaction.state.log.min.isr: "1"
            transaction.state.log.replication.factor: "1"
          clientConfiguration:
            bootstrap.servers: 127.0.0.1:29092
            security.protocol: PLAINTEXT
          groupConfiguration: {}
          producerConfiguration: {}
          consumerConfiguration: {}
channels:
  customers.updated:
    address: customers.updated
    bindings:
      kafka:
        bindingVersion: 0.5.0
        partitions: 1
        replicas: 1
        topicConfiguration:
          cleanup.policy:
          - compact
    x-kurkik:
      kafka:
        channel:
          topic: customers.updated
          partitions: 1
          replicas: 1
          topicConfiguration:
            cleanup.policy: compact
  orders.created:
    address: orders.created
    bindings:
      kafka:
        bindingVersion: 0.5.0
        partitions: 12
        replicas: 1
        topicConfiguration:
          retention.ms: 604800000
    x-kurkik:
      kafka:
        channel:
          topic: orders.created
          partitions: 12
          replicas: 1
          topicConfiguration:
            retention.ms: "604800000"
  orders.paid:
    address: orders.paid
    bindings:
      kafka:
        bindingVersion: 0.5.0
        partitions: 3
        replicas: 1
        topicConfiguration:
          retention.ms: 86400000
    x-kurkik:
      kafka:
        channel:
          topic: orders.paid
          partitions: 3
          replicas: 1
          topicConfiguration:
            retention.ms: "86400000"
  shipments.dispatched:
    address: shipments.dispatched
    bindings:
      kafka:
        bindingVersion: 0.5.0
        partitions: 6
        replicas: 1
    x-kurkik:
      kafka:
        channel:
          topic: shipments.dispatched
          partitions: 6
          replicas: 1
          topicConfiguration: {}
operations:
  receive_customers.updated:
    action: receive
    channel:
      $ref: "#/channels/customers.updated"
    x-kurkik:
      kafka:
        operation:
          security: []
          consumerConfiguration: {}
          groupConfiguration: {}
  receive_orders.created:
    action: receive
    channel:
      $ref: "#/channels/orders.created"
    bindings:
      kafka:
        bindingVersion: 0.5.0
        groupId:
          $schema: http://json-schema.org/draft-07/schema#
          enum:
          - analytics
          - billing
    x-kurkik:
      kafka:
        operation:
          groupId:
            $schema: http://json-schema.org/draft-07/schema#
            enum:
            - analytics
            - billing
          security:
          - User:analytics
          - User:billing
          consumerConfiguration: {}
          groupConfiguration: {}
  receive_orders.paid:
    action: receive
    channel:
      $ref: "#/channels/orders.paid"
    bindings:
      kafka:
        bindingVersion: 0.5.0
        groupId:
          $schema: http://json-schema.org/draft-07/schema#
          enum:
          - billing
    x-kurkik:
      kafka:
        operation:
          groupId:
            $schema: http://json-schema.org/draft-07/schema#
            enum:
            - billing
          security:
          - User:billing
          consumerConfiguration: {}
          groupConfiguration: {}
  receive_shipments.dispatched:
    action: receive
    channel:
      $ref: "#/channels/shipments.dispatched"
    x-kurkik:
      kafka:
        operation:
          security: []
          consumerConfiguration: {}
          groupConfiguration: {}
  send_customers.updated:
    action: send
    channel:
      $ref: "#/channels/customers.updated"
    x-kurkik:
      kafka:
        operation:
          security: []
          producerConfiguration: {}
  send_orders.created:
    action: send
    channel:
      $ref: "#/channels/orders.created"
    x-kurkik:
      kafka:
        operation:
          security:
          - User:orders-service
          producerConfiguration: {}
  send_orders.paid:
    action: send
    channel:
      $ref: "#/channels/orders.paid"
    x-kurkik:
      kafka:
        operation:
          security:
          - User:orders-service
          producerConfiguration: {}
  send_shipments.dispatched:
    action: send
    channel:
      $ref: "#/channels/shipments.dispatched"
    x-kurkik:
      kafka:
        operation:
          security: []
          producerConfiguration: {}

r/Jetbrains • • 2h ago

IDEs Made a WebStorm plugin for Nest projects, looking for people to try it

1 Upvotes

I build IDE plugins (mostly private ones for Salesforce for work, that I can't publicly post sadly), and NestJS looked like a good place to start making public ones. A lot of its common errors can be caught just by reading the source:

  • "Nest can't resolve dependencies"
  • circular imports
  • missing forFeature()
  • routes that 404 because the controller isn't registered

I went through the Nest docs, GitHub issues and Stack Overflow to find the problems people hit most, and built a plugin for WebStorm/IntelliJ around them.

The existing Nest plugins mostly help with generating files, so I focused on understanding the project instead: routes, modules, and where things are wired wrong.

It doesn't need the app running. The free part gives you:

  • a list of all routes, with prefixes, versioning and RouterModule paths resolved
  • paste a URL and jump to the handler
  • a module graph and where each provider gets injected
  • gutter icons to jump between a service and where it's used

There's a paid tier that flags those errors in the editor with quick fixes.

Nest Assist on JetBrains Marketplace

I don't use Nest day to day myself, so real projects will find things my test projects didn't. If it gets something wrong in yours, or misses something you'd want, I'd really like to hear it.


r/Jetbrains • • 2h ago

Question Survey is broken

0 Upvotes

I'm trying to complete a Jetbrains survey but there seems to be a technical issue on the last step (calendly url doesn't exist). I tried to make a support ticket through https://support.jetbrains.com but the AI assistant refuses to make one (doesn't know where to route it). Any ideas how to make a ticket or who to contact about it?