A few questions...

Hi All,

Just installed PhpStorm 1.01 today (because I'm sick of Netbeans / Aptana) and while I'm loving it (great customisation options) I have a few questions, no doubt settings related.

1) How do I enable 'soft' line wrapping (called 'word wrap' in many editors such as Notepad++)? I have some very long regexps etc that cannot be manually be broken with line breaks and readability would be vastly improved if I didn't have to scroll right for ages to read them. This is absent from Netbeans and one of the reasons I'm looking for another editor. I found the HTML option for this so I guess it's possible, but can't find the PHP one.

2) I've set the code folding to collapse PHPDoc comments and methods etc, but whenever I add something new to the file (e.g. a new method) they all reopen (and stay open). Have I missed a setting or is this a bug?

3) Is there any way I can enable a default collapse (code folding) of all CSS rules in .css files? (a la Netbeans)

4) Whenever I open a file from outside the IDE (i.e. double click on it in the file system) it opens a new editor tab and creates a 'project' for the folder containing the file (which creates a .idea folder, grrr). This is very annoying and I really can't imagine it's the default setting (projects being something that you create relatively rarely and all). Can anyone enlighten me as to which setting I've cocked up in my afternoon's fiddling?!

Everything else seems spot on!

Cheers,

Paul

19 comments

For Q 2, I think this is a bug
For Q 3, I don't think so, I submitted a request for this earlier today - it's in the tracking system***

I don't have answers for 1 & 4, but hopefully someone will.

** one of the neat things I've noticed here is that users submit suggestions and bugs directly to the bug track system - so at least you know it's in there!

0

1) Not implemented and seems like will not be implemented in the near future. See http://youtrack.jetbrains.net/issue/WI-1167.
2) Old known and very-very annoying bug :(  See http://youtrack.jetbrains.net/issue/WI-1090 and related bugs.
3) As I know no.
4) Seems like this behavior will not be changed in the near future. See http://youtrack.jetbrains.net/issue/WI-1947.

0

Thanks for the rapid response guys!

I guess I'll continue my search for a new PHP IDE then, because 4) is driving me mad (made this error ~15 times already today and 1) and 2) really are key features I'm looking for.

Anyone know an editor that is basically PhpStorm, but with those? I've tried several so far (Komodo, Aptana, Netbeans, Zend Studio, PHPDesigner, Eclipse (with plugins), Rapid PHP, PHPEdit, PHPEd, Bluefish), but none are perfect or in fact anywhere near as good. Possibly back to EditPlus for me... *sigh*

I'll check back in a few months to see if these have been fixed in later versions.

Thanks again for your help.

Cheers,

Paul

0

Hello,

4) - Opening single file - is scheduled for the next PhpStorm release.

Kirill

0

Hi Kirill,

Thanks for letting me know. Is there a known timeframe for the next release?

Cheers,

Paul

0

Next major release will be available this autumn. Public EAP will start within two weeks, see http://confluence.jetbrains.net/display/WI/Web+IDE+EAP
Note that introductory pricing ends Sept 1st 2010, so you has one month to benefit from the discounts, see http://www.jetbrains.com/phpstorm/buy/index.jsp

0

Hi Alexy,

Thanks for your reply. Before I purchase this can I confirm how the file open process will work?

Ideally I'd like the following (as I think many developers would):

1) When a file is opened the IDE will load in the same instance (not in a new window - there should be / or maybe is already an option for this)
2) The IDE will look up the directory tree from the file to see if it is in an existing project and then take one of two actions:
    a) if a project already exists, but is not open, ask the user if they would like to load the whole project with this file (i.e. first file open of the day or files from a second established project).
    b) if a project already exists and is open (the most common for me) just open the file within the project (as if I'd used the IDE project sidebar).
    c) if the file does not belong to a project just open it as a single file (a project creation question could get annoying quickly).

Is this the kind of thing you are planning?

Also does the Early Access Program mean that a 1.02 beta will be released in 2 weeks so that I can check this works according to my needs before purchasing it? (and still be in time for the pre 1st Sept discount?)

Cheers,

Paul

0

Hello Paul,

Is this the kind of thing you are planning?

Looks like yes (maybe not all the points from the start, but eventually).

Also does the Early Access Program mean that a 1.02 beta will be released in 2 weeks so that I can check this works according to my needs before purchasing it?

Currently we can't give the specific estimation which EAP build will have this feature included. We'll try to make it soon and update the issue accordingly.

Regards,
Kirill

0

Thanks for the response, I have to say I am amazed at the speed of reply from your team - it feels nice to be in close contact with the dev guys!

I'll watch for the pre beta build which will hopefully solve enough of my issues to make payment a no-brainer... I don't seem to get any e-mail alerts from these threads or your site though (my e-mail is correct), any tips?

I've voted for both of the enhancements in the tracker - hopefully more people will do so too!

Cheers,

Paul

0

Hello Paul,

I don't seem to get any e-mail alerts from these threads or your site though (my e-mail is correct), any tips?

Does "your site" above mean the issue tracker?

We'll forward your feedback to the site admins.

Regards,
Kirill

0

I too do not get notifications form this community forum when replies to my posts are made...

0

Hi Kirill,

No, I seem to get them from the issue tracker (no registration confirmation though, just alerts about every vote which I have now turned off!), but I don't get them from this forum. Apologies, I used 'your site' as a loose term because both are on the same domain, I should have been more clear and included the sub-domain!

Cheers,

Paul

0

Hello Paul,

As I see you're subscribed only to one thread (this one), not whole community, so you should receive notifications from this thread without problems.
Also please check your spam filters.

Thanks,
Sergey

0

I don't receive any alerts to this thread, nor did I receive a welcome e-mail or anything like that. I don't have anything in my spam folder and use a very standard spam filtering setup (Postfix, ClamAv, SpamAssassin) on my server...

smtpd_recipient_restrictions =
   reject_unauth_pipelining,
   permit_mynetworks,
   permit_sasl_authenticated,
   reject_unauth_destination,
   reject_invalid_hostname,
   reject_non_fqdn_hostname,
   reject_non_fqdn_sender,
   reject_non_fqdn_recipient,
   reject_unknown_sender_domain,
   reject_unknown_recipient_domain,
   reject_rbl_client list.dsbl.org,
   reject_rbl_client sbl-xbl.spamhaus.org,
   reject_rbl_client dul.dnsbl.sorbs.net,
   reject_rbl_client cbl.abuseat.org,
   permit

So unless you've found yourself on any of the latter lists I should receive any well formed e-mails?

I do receive e-mails from your bug tracker though. Very odd indeed...

0

I found a source of problem in mailserver logs:
no such domain: edunation.co.uk

I think your email address a little bit wrong. :-)

0

Think you might want to check your systems!

http://www.edunation.co.uk/ 100% exists and the mail for it works and has done for many, many years...

http://whois.domaintools.com/edunation.co.uk

0

Thanks a lot Paul!
No problem with your address, but there was problem with forums configuration, which caused impossibility to send email to external users a few last days.
Sorry for troubles, now it's fixed.

Thanks,
Sergey

0

Hi Sergey,

Getting alerts now! Thanks for the quick fix.

Cheers,

Paul

0

I am getting alerts now as well - thanks!

0

Please sign in to leave a comment.