In IntelliJ, how to auto-import rxjs operators from 'rxjs/operators' i.s.o. 'rxjs/internal/operators'?

David Bulté

Rxjs pipeable operators should be imported from 'rxjs/operators', e.g.

import {catchError, filter, map} from 'rxjs/operators';

However, when using IntelliJ's auto-import, the import statement that is generated is like so:

import {catchError, filter, map} from 'rxjs/internal/operators';

Is this a bug? Am I doing something wrong?

lena

Please consider upgrading to the most recent IDEA version - WEB-32299 should be fixed there

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How to import classes from another module in Intellij

Intellij IDEA: How to auto-import java packages than "import package.SpecificClass"

Intellij auto import for inner classes

How do I import Google's OAuth client into IntelliJ via Maven?

How to disable Maven auto import automatically in IntelliJ IDEA?

Using rxjs in angular 2 component, should I manually import the operators?

How to import settings into CLion from Intellij?

RxJS: How to import Just

How do I disable or enable Gradle / Maven auto-import for an IntelliJ IDEA project?

How to correctly import operators from the `rxjs` package

Should I use both `import 'rxjs/Rx'` and `import { Observable } from '@rxjs/Observable'`

How do I import rxjs operators from a centralized file for jasmine unit tests in Angular?

IntelliJ IDEA: How do I disable / ignore specific auto import suggestions?

In rxjs, how do I chain mapping through arrays of data received from different API's?

How can I avoid multiple nested subscriptions using RxJS operators?

RxJS: How may I treat bindNodeCallback() as an Observable that can have operators chained to it?

How can I chain multiple dependent subscriptions using rxjs operators and transformations?

which rxjs operators to use in which order in auto save scenario

How to import RxJS merge?

How to import auto from enum in python 2.7?

How do I persist a value across RxJS 6 pipe operators?

RxJs and Angular, i need read two params from route and i want to use pipeable operators

How to exclude css files from auto formatting in IntelliJ

How do I turn on auto code completion in IntelliJ?

Directory import is not supported resolving ES modules when trying import { map } from 'rxjs/operators';

GraalVM: How do I import libraries from different languages in a single project? I am using IntelliJ

Auto static import in IntelliJ

How do I import Airflow operators for version 2.2.5?

Auto import annotations in IntelliJ