I am using PHPStorm to develop a Symfony2 application. Everything works fine, but the 'Framework' tab doesn't show my controllers, resources and bundle contents.
It should be like this:
http://www.kevwebdev.com/img/2012/11/phpstorm-framework-tab.png
I have this:
http://pl.tinypic.com/view.php?pic=2dsls08&s=8#.U7LuDPl_sqE
I have controllers in my project, but PHPStorm doesn't show them.
Any idea what's wrong?
You need to fix your project settings. Go to File->Settings->PHP->Framework Integration and make the necessary changes as shown in the screenshot below. To change a setting for a given directory, just click in the 'Element' column and you'll get a drop down selector with the available options.
Afterwards, everything should be working fine.
Related
I would like to make a custom dark theme for a web client.
I tried everything but no matter what I changed I cannot get any changes to take effect. I found out this page in the documentation but I cannot get it to work:
https://afterlogic.com/docs/webmail-lite-8/developers-guide/creating-new-skin
Does anyone have some experience with this webmail client?
The recommended option for creating a new skin is to clone and rename one of the existing skins, and upon making changes to it, run gulp styles --themes YOUR_THEME_NAME command. Once this operation is performed, check static/styles/themes/YOUR_THEME_NAME and see if you get your changes reflected there. If the changes are in place, then it's probably browser cache causing it, try clearing it and see if that helps.
In fact, it's not required to deal with .less files, you can simply create a copy of an existing theme under static/styles/themes directory - but in either case, you need to make sure the new theme is listed in ThemeList section of data/settings/modules/CoreWebclient.config.json configuration file.
I am wondering why I am not unable to make changes; I already tried several things yet, I don't seem to be able to update the CSS, the following I did already:
There is no Editor, so I am unable to make changes via there.
I am an Administrator and have access to cPanel.
I made changes via ../wp-content/theme/my-theme/style.css and no changes were made.
I empty my cache via plugin and hard reload my Chrome, Firefox and Safari. And no changes were made.
Is there any other solutions? I already found the file which contains all the styles. I would try to add my own class, and see if I am to see if there is any effect.
First thing first, From cPanel you can navigate to your website from the fileManager, use it to make code changes and then save them. You need to clear the cache everytime you make changes (i usually do it from the browser (in chrome, open the dev console, then long press on the refresh button and select the bottom one)
If the changes are still not showing on your site, I think that maybe you are editing the wrong CSS? Is this your theme and are you 100% sure you are editing the right file and, for example, it's not overwritten by a child theme or something else?
If you are using any framework, maybe your property is overwritten by your framework (for example, by bootstrap). To check this, open the console or try to add !important in your CSS file.
Just as an example, when I develop a theme I leave the root style.css with only the theme definitions, and then I create different stylesheets in a different folder. This leads me to the next question: are you enqueue your file correctly? is it even loaded by WordPress?
to check this I usually inspect the code in and search for the id of the file I enqueued from my functions.php.
Unfortunately, without more details, this is the only things I could think of when developing and WordPress theme and make changes from cPanel. Hope some of this can actually help.
Please check following options
Permission of file at ../wp-content/theme/my-theme/style.css.
Grab the css and open in Dream-viewer or sublime is there any css syntax issue.
Also the path of style.css in header is show same by view source.
Or
Even you can use the plugins which allow to add custom css without toching the server check this plugin https://wordpress.org/plugins/simple-custom-css/
According to documentation I could find for VS2012 I should be able to right click a class name in my code and go to definition. It will then open the correct CSS file and bring me to where it is declared.
I am using VS2013 and it has no option for this. I am using a website project and just using .html files.
The design I am working on has several CSS files so this would be a really handy feature for me to have. Has it changed in VS2013? Anyone know why I cant see this option?
Try WebEssentials. It has build in feature for this: http://vswebessentials.com/features/html#definition
I believe this a configuration issue with your copy of VS2013. Try going to a class name and hitting F12. If that takes you to the definition, something is wrong with your context menu.
Is there any way to setup different indentation values for a specific project or workspace?
I've started working on a new project that uses a different indentation level then I've been using, and I would love to be able to set a custom value for that project, or setup a workspace for it, so that I don't have to think about changing indentation values when moving between projects. I've searched around but haven't had any luck finding any discussion about it.
I came across this question/answer: Is it possible to set indent settings in Xcode per project (or per file, even)? This is the exact same problem that I have, however the solution does not seem to be available in Xcode 4.
Open the file inspector by choosing View > Utilities > File Inspector. Select the project file from the project navigator. Use the Text Settings section in the file inspector to set the indentation for the project.
I'm totally new to the Microsoft dev scene so please go easy :)
Currently, I have a solution that contains two projects (ASP.net websites, FWIW). If I create a class in Project1, how do I expose it to Project2? Is it automatically available to Project2 because they are in the same solution? Or do I need to do something special to make the connection?
you need to Add Reference of Class to the project
Like this:
Then Go to Projects Tab (if your project is in Same Soln) .Select the class library need to refer and click ok.
When you expand your Reference you can see the class1.dll like this
Hope this may help you :)
Go to the properties of Project2, and add Project1 as a "Project Reference".
Then your class will be available via Project1.ClassName
You can then use the Imports Project1 statement to shorten the reference, and just reference ClassName
Add a project reference. Go to solution explorer and right click on Project 2's 'References' node.
Select 'Add refrence'. From the 'Projects' tab select Project 1.
That's it. Now you can use classes from Project 1 in Project 2.
You need to add a reference to the project (context menu on the project) and add Imports statements in your class files to use objects from the other project.
Normally you would just create a reference from Project 1 to Project 2, but as they are both ASP.NET websites i don't know if that would be possible (i've never tried that particular combo).
What you can do instead if that fails is share the actual class files between the two projects - in the Solution Explorer right click, Add existing file, then browse to the file containing the wanted class in project 2, and then just before you click Add, click the little down arrow on the button and select Add as link.