Questions tagged [intellij-idea]

IntelliJ IDEA stands out as an outstanding IDE developed by JetBrains. While its core strength lies in Java development, it encompasses a wide range of programming languages such as JavaScript, Groovy, HTML, CSS, RSS, R, Haskell, PHP, Ruby, Python, Scala, Swift, Clojure, Kotlin, Hybris, Gradle, and many others. Any queries related to usage or challenges faced on both the Community and Ultimate Editions can be addressed using this specific tag. However, if you encounter an issue with something unrelated while utilizing IntelliJ, kindly refrain from employing this particular tag.

When IntelliJ starts Spring boot, resources folder assets are not served

I'm following a tutorial similar to this one. The setup involves a pom file that manages two modules, the frontend module and the backend module. Tools being used: IDE: Intellij, spring-boot, Vue.js I initialized the frontent module using vue init webpac ...

In IntelliJ Idea, ES module imports created using webpack and babel are not currently being highlighted

To ensure smooth code maintenance in the future, it is crucial to configure the environment (in my case, IntelliJ IDEA 2021.1.3) to recognize imports from custom modules located in the internal working repository. In this project, a module passed through B ...

Webstorm seems to be having trouble identifying Next.js

When I create a Next.js app using the command npx create-next-app my-app --use-npm Everything is successfully installed, but when using WebStorm, I noticed that it does not auto import the <Link> component from Next.js. I have to manually import it ...

Can SystemJS, JetBrains IntelliJ, and modules be combined effectively?

Looking for some clarification on the functionality of module includes and systemJS within an Angular2 app structure. I have set up a basic Angular2 app with the following layout: -app |-lib (contains shims and node libraries) |-components |-app |-app. ...

Using WebStorm with React + MUI can be quite challenging

My experience using WebStorm 2022 with React, JavaScript, and MUI has been plagued by excruciatingly slow performance, making it nearly impossible to work efficiently. Autocomplete functionality takes an agonizingly long time to load, and my CPU usage sky ...

Is it possible to execute "green arrow" unit tests directly with Mocha in IntelliJ IDEA, even when Karma and Mocha are both installed?

My unit tests are set up using Karma and Mocha. The reason I use Karma is because some of the functionality being tested requires a web browser, even if it's just a fake headless one. However, most of my code can be run in either a browser or Node.js. When ...

Is WebStorm with Node Supervisor being utilized to eliminate the need for restarting after every code modification?

Currently, I am utilizing WebStorm as my node IDE and have found it to be quite impressive. However, one issue I am facing is figuring out how to incorporate node supervisor into my workflow within WebStorm. Has anyone successfully managed to set this up ...

Setting up Geb 2.0 in IntelliJ: A Step-by-Step Guide for Run/Debug Configurations

I've been exploring Geb 2.0 at http://gebish.org/ and I recently downloaded the Gradle sample from https://github.com/geb/geb-example-gradle. Everything is running smoothly on my machine with various browsers like Chrome, Firefox, and ChromeHeadless. ...

Gradle synchronization in IntelliJ causing missing folders in WAR Artifact

Currently, I am working on a Spring MVC application that incorporates TypeScript. The TypeScript code is transpiled using a Gradle task from the directory src/main/ts to build/ts. Subsequently, the resulting JavaScript files are added to the WAR file usin ...

Having difficulty accessing the VR Path Registry

Software Version: geckodriver-v0.20.0-win64 Operating System: Windows 10 Home Single Web Browser: Firefox: 59.0.2 (64-bits) Selenium Software: selenium-java-3.11.0 IDE: intelliJ Idea : 2018.1 Community Edition Greetings! I have recently started using We ...

What is the process for establishing a class within PageObject framework?

As a beginner in Selenium, I am using IntelliJ along with Selenium WebDriver and Junit. My current challenge lies in setting up the TestBase class within the PageObject framework. Below is an excerpt of my TestBase class: import org.junit.After; import or ...

Tips for accessing or adding source code in IntelliJ 12

After creating a new project in IntelliJ version 12, which is a Maven module, I made sure to select the autoscroll options from the IDE. However, when I hover over WebDriver using Ctrl Q, it keeps prompting me to download or attach the source code. Despite ...

Is there a way to determine the total number of angular components in my app using IntelliJ IDE?

Seeking a way to determine the total count of angular components using IntelliJ IDE. I attempted 'find in files' search tool with the terms "export class" but it retrieved more than just component files. Appreciate any help! =) Etienne. ...

How come my Python script encounters UnicodeDecodeError in IntelliJ but runs without any issues when executed in the command line?

My program has a simple task of loading a .json file that includes a unique character. While the program runs smoothly in Terminal, I encounter an error in IntelliJ: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 2: ordinal not i ...

What is the meaning behind the phrase "JSON specification solely permits a single top-level entity"?

In my coding editor, specifically IntelliJ, I came across a test.json file that has an interesting problem. The second json record is triggering an error message stating "Json standard only allows one top-level value". However, upon closer inspection, th ...

Exploring the process of supplying arguments to the npm debug configuration within Intellij

Currently, I am attempting to run a GraphQL application locally. Within the script section of the package.json file, there is a specific line that reads as follows: "component": "NODE_ENV=development NODE_TLS_REJECT_UNAUTHORIZED=0 GRPC_VERBO ...

IntelliJ lacks the option to run code when right-clicking

I recently transitioned to a new machine where I am running a maven project with a series of automated Java tests. On my previous machine, these tests worked perfectly fine. However, on the new machine, when I attempt to right-click on the test Java class ...

IntelliJ is unable to locate the scss import when using the includePaths option in stylePreprocessorOptions

Having trouble with IntelliJ 2019.2.2 Ultimate not detecting scss imports from stylePreprocessorOptions - includePaths Here is the directory structure: https://i.stack.imgur.com/SQEDT.png In my angular.json file, I have specified: "stylePreprocessorOpt ...

Automatic suggestions for my personalized npm module (written in ES6/Babel) in Webstorm

When I utilize the material-ui package in Webstorm, I am able to experience helpful auto-completion using the ctrl+space shortcut: https://i.stack.imgur.com/Pivuw.png I speculated that this feature may be attributed to the inclusion of an index.es.js fil ...

IntelliJ IDEA does not support the recognition of HTML tags and directives

I seem to have lost the ability to switch between my HTML and TS files in Intellij IDEA; the tags, directives, and autocompletion in HTML are no longer working. Additionally, I'm receiving some warnings: https://i.stack.imgur.com/QjmNk.png Is there a way ...

I'm encountering a webdriver issue in my IntelliJ IDE when trying to run Selenium tests

While working on my Selenium project, I encountered an error in IntelliJ IDE that did not occur when using Eclipse IDE. Attach is a snapshot showcasing the issue. The code runs without any issues in Eclipse, and I have already included the necessary depend ...

Issues with TypeScript: Difficulty locating names in HTML templates

I recently upgraded my Angular 7 code to Angular 9 by following the steps outlined in the Angular Upgrade guide. However, upon completion of the migration process, I started encountering numerous "Cannot find name" errors within the HTML templates of my co ...

Unable to Incorporate WSL Interpreter into Intellij Idea 2018

Struggling to add the WSL node interpreter to my Intellij Idea(2018.2.2) as it can't detect NodeJs(version 12.14.1) installed on WSL2. I have Node installed with NVM on UBUNTU 20.04.1 LTS through Windows Store. Despite trying different methods like r ...

Run and debug multiple scripts simultaneously in WebStorm

Can I use the "Run/Debug Configurations" feature in WebStorm to run multiple npm scripts with a single command? For instance, creating a script that will execute both npm run script-one && npm run script-two. Is it feasible to achieve this? ...

What is the method for enabling imports from .ts files without file extensions?

While trying to open a Svelte project with TypeScript, I encountered an issue where all imports from .ts files were showing "Cannot resolve symbol" errors. https://i.stack.imgur.com/FCVxX.png The errors disappear when the .ts extension is added to the im ...

Strategies for addressing the issue: SessionNotCreatedException occurs when a new session cannot be initiated. This error may be due to an incorrect remote server address

Hi everyone, I'm completely new to using Appium and testing in general. I'm currently experiencing an error that I am unsure how to resolve. Any help would be greatly appreciated. My goal is to test an application on my android studio emulator, ...

Getting IntelliJ to recognize the file organization of the Next.js `public` folder

In my development process, I am using IntelliJ to edit a Next.js website where I have the following versions: IntelliJ IDEA 2020.2.1 Next.js 9.5.3-canary.23 When it comes to the static file serving feature provided by Next.js, it utilizes a designated /p ...

Encountering an issue with launching npm serve on MacOS while using IntelliJ Ultimate for a Vue.js project

I can't seem to get npm serve to start in the Run/Debug Configuration within IntelliJ. However, when I run it separately in the Terminal within IntelliJ or on the regular console, it works just fine. Any idea what's causing this and how to fix it? Here ...

What are the steps to activate the hot-swapping feature for HTML and JavaScript files in IntelliJ's Community edition?

Just starting out with IntelliJ to work on an AngularJS project with spring-boot as the backend server. Every time I make changes to my HTML or JavaScript code, I find myself needing to restart the app server. Is there a configuration setting or plugin ava ...

Reactivate IntelliJ IDEA's notification for running npm install even if you have previously selected "do not show again" option

One of the great features in Intellij IDEA is that it prompts you with a notification when the package.json has been changed, asking if it should run npm install, or whichever package manager you use. I have enjoyed using this feature for many years. Howe ...

Does IntelliJ only offer selenium in the Ultimate version?

Currently, I am working on creating a web bot using Python in IntelliJ. Fortunately, I came across a valuable plugin called selenium that has significantly improved my workflow. The only downside is that the selenium plugin is exclusively available for d ...

"Modifying Code Aesthetics in WebStorm/IDEA: A Step-by-

Here is the code style I am currently using in my JavaScript project: var obj = { a: 1 , b: 2 , c: 3 } var arr = [ 'a1' , 'a2' , 'a3' ] const w = 1 , w2 = 2 , w3 = 3 The team claims they are following npm's co ...

How come code suggestion works flawlessly on Stackblitz, yet fails to function in Intellij?

Check out this GitHub repository for a simple way to reproduce the issue: https://github.com/tmtron/mathjs-typescript-types Successful Code Completion in Stackblitz Everything works perfectly when you open the project in Stackblitz: https://i.stack.imgur ...

Error: Attempting to access the property 'push' of an undefined variable has resulted in an unhandled TypeError

if (Math.random() <= .1) { let orgAdmin = User.find({email: '<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="1234454665324721380c0d">[email protected]</a>'}); org.administ ...

Guide to enabling TypeScript linting in .vue files using IntelliJ IDEA

Recently, I've been delving into the world of Vue and TypeScript, but I'm facing a roadblock that I just can't seem to overcome: When it comes to maintaining a consistent coding style across my TypeScript scripts, tslint does the job perfectly for .ts fil ...

Mastering the correct method for passing $NODE_DEBUG_OPTION to npm-run-all in IntelliJ IDEA

Running on my system with Ubuntu 16.04, I have IntelliJ IDEA Ultimate 2017.2, node v6.11.2, and npm v3.10.10. I am trying to debug a node.js application that has the following package.json start entry: "start:" "npm-run-all --parallel serve-static open-st ...

The error message in Intellij states that the gulp tool cannot be found in your

Currently working on a project in IntelliJ that relies on Gulp. Encountering an error after debugging, the error message reads: | Error Error executing script RunApp: java.lang.RuntimeException: Problem executing execUiBuild. standard out: 'Installin ...

Using the standard.js configuration for code linting within Intellij IDEA

I have been trying to implement standard.js for linting in my Intellij editor. Despite following the installation instructions for the node module and manually enabling linting as per Webstorm's guidance since it didn't enable automatically, I am ...

Execute a test with custom settings in IntelliJ IDEA

I am currently working on a project that involves using Clojure for the server-side and React for the client-side. In this project, there are two separate run/build configurations: one based on REPL for the server-side code, and another based on Jest for ...

nvm has successfully installed npm, but unfortunately, IntelliJ is not yet aware of its presence

I utilized NVM to install NPM. Oddly, when I attempt to use npm in the Intellij terminal, it claims that NPM is not installed. However, if I utilize the Ubuntu terminal, it functions properly. Here are the steps I have taken: I have attempted to set my ...

Setting up a Lerna monorepo with TypeScript: A Comprehensive Guide

I have a central repository with the following details in config.json: "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "es2015": "dist/es2015/index.js", "types": "dist/es2015/index.d.ts", "typings": "dist/es2015/index.d.ts", The repository co ...

Receiving the error message 'Cannot find symbol Test' in Java using Selenium with TestNG

I am experiencing an issue with my TestNG setup where I am unable to run a test. The error message I am encountering can be seen here. After checking my POM.xml file for errors and reviewing the code in my test page, such as: import Pages.SearchPage; ...