Problem with configuring PhpStorm for Typescript
I'm trying to give typescript a shot in PhpStorm for the first time so I'm following the installation steps mentioned in PhpStorm's documentation:
- Make sure the JavaScript Support and Node.js plugins are enabled. The plugins are bundled with PhpStorm and activated by default. If they are not, enable the plugins.
- Download and install the Node.js
framework. - Configure the Node.js interpreter in PhpStorm:
- Click
on the main toolbar. - On the Node.js page that opens, specify the location of the desired Node.js interpreter.
- Click
First of all, the NodeJs plugin was not installed so I had to isntall it from repository.
For the second step, I've already installed NodeJs on my computer so I skipped it. My NodeJs version is 0.10.26.
So I went on to the thrid step where I faced a strange problem. I couldn't find the
icon anywhere in main toolbar. So I opened the `Customize Menus and Toolbars..` window and there I found the item `Node.js and NPM` next to `Settings..` item with no icon! Then I thought the reason for it not being shown is because it has no icon to show. So I gave it an icon (a 16*16 png) and now in `Customize Menus and Toolbars..` window it comes with an appropriate icon. But yet when I close `Customize Menus and Toolbars..` window, it is not shown in main toolbar. Or at least not all the time! I mean the nodejs icon comes and goes as if it's playing hide and seek with me. It's so hard to catch the little ba**** but even when I do, it's no use, clicking on it won't open anything!
So what's going on? Why am I having so much trouble following the instructions?
BTW, I'm using Ubuntu 12.04 and java:
java -version
java version "1.7.0_06-ea"
Java(TM) SE Runtime Environment (build 1.7.0_06-ea-b16)
Java HotSpot(TM) 64-Bit Server VM (build 23.2-b07, mixed mode)
请先登录再写评论。
It seems that I was reading a wrong page, here's the correct page to read and install Typescript support to PhpStorm.