Open MarcusDalgren opened 11 years ago
I see that some designers might only do the template part and not care about PHP, but I'd say there are enough issues more important than supporting webstorm. Silverstripe is a PHP framework, so I think it can be expected of a developer/web designer to use a PHP IDE.
I don't know how much work is involved in preparing a WebStorm build, so I am not about to weigh out time expense vs benefit. I have to object though to saying that templating belongs to backend/PHPStorm side. Myself being a frontend man, I would expect WebStorm to assist me in tailoring a template, to signal syntax errors, format code, provide suggestions, and such.
If you don't agree then, well, what can I do except to ask you to remove the misleading intro: "IDEA-SilverStripe adds support for SilverStripe templates to IDEs based on the IntelliJ IDEA platform [...] WebStorm". It cost me some time to investigate why the plugin seemed to install but did not work, and eventually contact @MarcusDalgren to shed light on me as per the reasons.
If it does not work w/WebStrom, it does not support the IntelliJ platform.
@moniuch I see your point. and in a perfect world where everyone had more than enough time to spend on open source, I would fully support that. but fact is, the plugin is far from being finished, and I am sure @MarcusDalgren has much work on his hands as we all do, and therefore only very limited time to put into this open source software. So I say: rather fix more pressing issues and implement important features than spending a big amount of effort on this "almost edge case". (edge case because I believe the actual number of webstorm users in the silverstripe community is rather limited)
one thing I totally agree on is updating the readme to avoid misleading users to believe it supports all intellij based IDEs.
It started out as a plugin that worked for all platforms until I started adding features for referencing variables in PHP from the template. Since then it depends on the PHP-sdk which you have if you're running PHPStorm or IntelliJ IDEA with the PHP plugin installed. I will update the readme.
As always, I'm very thankful to OpenSource developers for their commitment and I believe that your resources are limited. We might all be surprised with the results though, if we released a survey to see how much of an 'edge case' I represent ;-)
Happy coding, guys!
@moniuch I guess that would in fact be interesting, I always feel like SilverStripe is a framework/CMS for developers, but I am beginning to see that there are more and more designers using SilverStripe.
I believe the split between developers and designers comes from the ideal world that you referred to :) A much more adequate one would be between backend and frontend, but still - there a lot of people verging on both domains. In real world simple PHP and template-related issues can easily be solved by front people.
The plugin depends on com.jetbrains.php for its php features which means it doesn't run in WebStorm. Investigate if Jetbrains supports releasing different versions for different platforms.