Noob totally lost in how to get started.
PLEASE don't be short with me. I wouldn't be here asking for help if I didn't need it. At this point I'm totally overwhelmed and about ready to give up.
I'm working on developing a template for Joomla. I'm very familiar with Netbeans but I want to try to use phpstorm for the extended features it has for joomla.
So, I was told by one of my fellow Bug Squad members to create a joomla base installation, and make the phpstorm project there. To install the .ignore plugin so that it would ignore everything BUT my template. And then to install my template. When I tell phpstorm to use C:\Google_Drive\server\wamp64\www\embryo as the document root it says "i see this is a wp install!!" WTH???
I want/need the code completion, standards, unit tests, etc that is geared towards joomla.
What I want to happen is, i want GIT to ONLY have my template files like it currently does with netbeans. I want to ftp on sync the template files to a server I have at http://embryo.hallhome.us for "live" testing as opposed to local wamp testing.
I want phpstorm to give me CLEAR indication of errors when I make them and to run xdebug on run so I can easily see the values of params and such.
I had to change from darcula because I had a hard time seeing some of the reds and other slight color changes but I still have some confusion. The standard white theme is so bright it kills my eyes.
Please see this image to see what is wrong with the theme ( material )
I Really appreciate any help you are willing to give. I've read tons and watched several video's and its simply not clicking.
Bear
请先登录再写评论。
whenever I start a new project what I do is:
* create a new local directory im going to use.
* use the OPEN DIRECTORY function under FILE to open that directory
* use VSC -> ENABLE VERSION CONTROL -> GIT
* open the VERSION CONTROL panel from down the bottom of the IDE, right click the stuff in uncommitted and select IGNORE ALL UNDER DIRECTORY /.idea
Next I setup an FTP to the server to pull down what I need.
* TOOLS -> DEPLOYMENT -> CONFIGURATION -> (add a new site)
* Open the REMOTE HOST dialog and right click on the folder im interested in on the server and choose SYNC WITH LOCAL and pull all the files down.
Back to the VERSION CONTROL tab to commit those files.
Ready to develop.
If you have a bunch of stuff you dont want to bring in to the project, but is actually there on the server and you want all the cool hints and stuff, add it at
PREFERENCES -> LANGUAGES & FRAMEWORKS -> PHP -> + (add its include path)
done. There may be joomlaish stuff that also needs doing, not sure.
> So, I was told by one of my fellow Bug Squad members to create a joomla base installation, and make the phpstorm project there.
Not really the best approach, it's better not to have the project sitting directly in the web root.
Create a project for your template separately, add the Joomla installation as a PHP Include and then copy your template via a deployment configuration.
https://confluence.jetbrains.com/display/PhpStorm/Joomla%21+Development+using+PhpStorm
https://confluence.jetbrains.com/display/PhpStorm/Deploying+PHP+applications+with+PhpStorm
> use C:\Google_Drive\server\wamp64\www\embryo as the document root it says "i see this is a wp install!!" WTH???
It's either a direct consequence of using the web root as a project root, or some kind of a bug.
Do you have anything apart from Joomla installed in the web root?
> What I want to happen is, i want GIT to ONLY have my template files like it currently does with netbeans. I want to ftp on sync the template files to a server I have at http://embryo.hallhome.us for "live" testing as opposed to local wamp testing.
You can ignore the other files with built-in PhpStorm functionality:
https://www.jetbrains.com/help/phpstorm/configuring-ignored-files.html
Or use the .ignore plugin, it's much more popular.
> Why Underline squiggle
Hover the mouse over the underlined symbol to get details.
well, at the moment i'm totally stuck as now it won't even let me create a project from version control :(
@eugene I'll give that a try.. sorry for long delay I've been super busy and frankly forgot to follow up.