cannot install latest version of dart plugin for phpstorm 4.0.3

Hi there,

PHPstorm 4.0.3
JDK: 1.6.0_31
Dart SDK 11700

I had an early version of the Dart plugin, following dartisan meeting I decided to update to the latest one.

I cannot install the latest 3.6 version of the dart plugin (through remote repo), plugin dialogs tells me that it is incompatible with my version of phpstorm.
The same happens if I try to use a local manually downloaded version of the plugin, tried it for 0.3.6 0.3.5, 0.3.4

BUT if I manually install one custom made found in the issue tracker it works (I guess an older 0.34 version?)

Thank you very much for your help.

Best regards.

maddec

11 comments
Comment actions Permalink

Hi Cedric,

Well... plugin page clearly says that it requires 121 or 122 branch (PhpStorm/WebStorm v5 or IntelliJ IDEA v12) while 4.0.3 is 117 branch.

http://plugins.intellij.net/plugin/?webide&pluginId=6351

0
Comment actions Permalink

OK I understand. I'm sorry for this question, but I'm a newbee in PhpStorm/Intellij context, is there a way to have access to this prerelease branch? Or is it only private?

0
Comment actions Permalink

Ok so now I'm running PhpStorm 5 121.150.
JDK: 1.6.0_31
Dart SDK 11700

I followed instructions as described here regarding intial setup:
http://www.screenr.com/L3r8

1:
autocompletion does not work even if I setup it properly through the mini Dart dialog (choose Dart SDK home path + edit usage scope)
the Dart dialog report the correct version of Dart "Dart SDK revision 11700 is set up" and I've double checked that usage scope is correct.

2: When I launch chromium directly from opened main html file  in phpstorm it works (non-debug).
But when I try to debug the debugger cannot connect (keep message as follow Connecting to 127.0.0.1:7930).
It is not due to my firewall because I tested it when it is turned off. Am I missing something during my setup, should I install an extension in chromium?

Thank you for your help.

maddec

0
Comment actions Permalink

Hi Cedric,

autocompletion does not work even if I setup it properly through the mini Dart dialog


Could you provide a specific example (code snippet or screenshot)?

But when I try to debug the debugger cannot connect


Do you launch Dartium?

--
  Kirill

0
Comment actions Permalink

Hi there,

Unfortunately I'm not using this plugin myself and not familiar with Dart language at all and therefore will be unable to help you here.

Maybe corresponding dev may help (when he see this thread). Maybe creating brand new thread for this problem will be a good idea (so the title represents actual problem; no replies which means it is not yet solved etc)

0
Comment actions Permalink

>Could you provide a specific example (code snippet or screenshot)?
I type the name of a native Dart class such as List or Canvas... ctrl-space, popup info: no suggesiton available. Click on native class elements are also not available.

>Do you launch Dartium?
yes I do but phpstorm debugger cannot connect.
C:\progseul\dart\chromium\chrome.exe (Settings>Web Browsers: default webbrowser path + Chrome path)


Yes your are right, I am starting a new thread it is better.


Thank you for your help.

0
Comment actions Permalink

Cedric,

Responsible developer is currently out of the office. We will get back to you shortly.

Sorry for delay,
Kirill

0
Comment actions Permalink

Hi! sorry for any typos cause I'm writing from my phone. Dart SDK is a JavaScript library. Please go to the Settings->JavaScript and check that Dart SDK is enabled. Also you can check paths or remove/install it again.

I think that dartium debugger is broken in builds after 24.08. I'll ask to check it.

0
Comment actions Permalink

Fedor,

I've checked as mentionned in settings>javascript: Dart SDK was active/enabled.
Though I verified through the edit dialog:
Framework Type: custom
Visibility: Global
SDK Files were properly listed as attached.

Then I attached also the current project (not sure if it was required or if it was what I was missing).

Clicked ok and closed settings.

Now it works completion and debug with break points.

Funnily enough when I reopened the settings>javascript Dart SDK was unticked. I reenabled it and closed settings.

Everything still works the same = correctly ...


I'm not sure what happened, but the most important is that it works now ;)

Next step is to test Dart PUB management within PHPStorm
Thank you for your help!

maddec

0

Please sign in to leave a comment.