When using WebStorm / PhpStorm / IntelliJ IDEA...
When I navigate to a file it always pulls up the *.d.ts
type definition file instead of the source *.ts
How can I go right to the source *.ts
?
I tried marking the *.d.ts
files as text, or registering the *.d.ts
pattern under the "Text" file type. The icons change on these files but the navigation still ends up on the *.d.ts
file.
If I include *.d.ts
under the file types to ignore (in Settings), they won't get recognized for things like version control -- I just want to affect navigation.
This seems like it would be a problem that would affect ALL typescript users... what am I missing?
See: Related but different issue (I want *.ts
not *.js
)
.
UPDATE (Mar-20-2017):
As of WebStorm 2017.1, registering the *.d.ts
pattern under the "Text" file type WORKS for me. Problem solved!
.
WebStorm is an integrated development environment for coding in JavaScript and its related technologies, including TypeScript, React, Vue, Angular, Node. js, HTML, and style sheets.
WebStorm includes an evaluation license key for a free 30-day trial. WebStorm includes an evaluation license key for a free 30-day trial. WebStorm includes an evaluation license key for a free 30-day trial.
WebStorm is generally more efficient at refactoring and testing JavaScript and JavaScript-based code (such as TypeScript). Refactoring optimizes code for efficiency, while unit testing ensures product quality. VS Code still provides these features — but they aren't tailored to JavaScript.
WebStorm is one of the most well-known and profound JavaScript IDEs. It's developed by JetBrains - a company with years of experience in creating powerful IDEs for a variety of programming languages.
Please vote for WEB-23618 to be notified on any progress
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With