Giter Site home page Giter Site logo

kartanhq / intellij-nextjs Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 2.0 917 KB

Next.js plugin for IntelliJ Platform

License: Apache License 2.0

Kotlin 100.00%
intellij intellij-plugin intellij-idea intellij-platform jetbrains jetbrains-plugin nextjs react next webstorm-plugin

intellij-nextjs's Introduction

IntelliJ Next.js Plugin

JetBrains Plugins JetBrains plugins GitHub Workflow Status (branch) GitHub Twitter Follow Donate

Next.js is a comprehensive tool for creating full-stack web applications. It extends the latest features of React and integrates robust, Rust-based JavaScript tooling for expedited build processes.

The tool is designed to speed up both the deployment and development setup phases of a new Next.js application, making it an efficient tool for both novice and experienced developers.

Installation

For plugin installation, navigate to Preferences, then Plugins, and finally Marketplace. In the search bar, enter Next.

intellij-nextjs's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar nekofar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

trader81 pixkk

intellij-nextjs's Issues

Incompatible with WebStorm v2022.2

Describe the bug
The plugin seems to be incompatible with WebStorm 2022.2.

image

To Reproduce
Steps to reproduce the behavior:

  1. Install WebStorm 2022.1
  2. Install the plugin
  3. Upgrade to WebStorm 2022.2
    (4. Open settings > Plugins > Next.js)

Additional context
Installed WebStorm build where the problem appears: 222.3345.108

Allow usage of yarn as a package manager

The problem.

Currently you can only use npx create-next-app to create a new project. This is a problem because some pepole (including me) prefer yarn over npm, and reconfiguring the project is more time-consuming than just creating it using terminal instead of IDE.

Solution.

Add the ability to choose yarn as a package manager, either by allowing yarn create next-app in Create Next App field, either by making a dropdown to choose.

Update from WebStorm team

Hi! First of all, thank you for the plugin! It helped a lot of users.

I want to tell you that started from 2022.3 we are going to introduce own Next.js project generator as a part WebStorm, since we plan to deprecated some existing generators and add more new generators for modern technologies (including vite and Next.js).

It is JFYI: no actions required from you side.

Causes "Unneeded comma" warning in next.config.js

Describe the bug
With the plugin enabled, PhpStorm reports an "Unneeded comma" warning for the trailing comma in the definition of nextConfig.

To Reproduce

  1. Initialize a Nest.js project
  2. Open the project in PhpStorm
  3. Install/enable the Next.js plugin if it's not already installed and enabled

Expected behavior
There should be no "Unneeded comma" warning.

Screenshots
Screen Shot 2022-11-29 at 1 24 12 PM

Additional context
The warning does not appear when the plugin is disabled.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.