How do I see if a file has changed on PHPstorm?
I need to sync the files on ftp and that happens when I save (ctrl+s), but if I have many files I can't keep track of them, how do I see if there are changes.
I have tried with the color, but that didn't work.
Thanks
File | Settings | Editor | General |Editor Tabs | Mark Modified tabs with asterisk
I was looking for the asterisk next to the name as the accepted answer gives you. During my odyssey to find that answer I also found another useful way to display changed files, in the project view click on the down arrow next to the project name and select "Changed Files".
in OSX, On the top toolbar, go to PHPStorm > Preferences... > Editor > Editor Tabs, and then select the box for Mark modified tabs with asterisk.
(then hit OK at the bottom)
PhpStorm 2019.2
Now is in Settings | Editor | General | Editor Tabs | Appearance | Mark modified (*)
More
Related
I am using PhpStorm 2022.2 on Windows 10 with (Settings > Appearance > Theme) IntelliJ Light.
I dont use version controlling (git, svn etc.) in my project.
When I change a file I am used (from other editors) to see some change in the file tab, e.g. the color changes, or there is a "*" beside the filename.
In PhpStorm I don't see any changes in the file tab or else where, if I changed something in the file.
Where can I set this?
I looked through all settings, searched the net, but found only solutions concerning version control.
Settings (Preferences on macOS)
Editor | General | Editor Tabs
Ensure that Mark modified (*) option is enabled
https://www.jetbrains.com/help/phpstorm/settings-editor-tabs.html#appearance
The result:
I found it myself, after searching again with better search words ;)
I found it on PhpStorm Help pages:
https://www.jetbrains.com/help/phpstorm/settings-editor-tabs.html#appearance
So the setting is in:
Settings > Editor > General > Editor Tabs > Mark modified ()*
And after checked it does what I expect :)
I would like to use HTML shortcuts in PhpStorm in a way I know from other editors.
Example:
a.test.test2
should be resolved to
<a class="test test2"></a>
Is there any way to activate this? The live templates seem to work in a different way.
It's called Emmet and it works just fine in .html files.
Check if Emmet is enabled for HTML (it is by default) and ensure that you are using correct expand key (in case if you have changed it; by default it should be Tab).
Settings/Preferences | Editor | Emmet
How can I set the font size in the embedded terminal in the JetBrains PhpStorm IDE? The text is too small. Is this possible?
LazyOne already pointed out where you can change this.
Keep in mind that you have to hit the "Save As..." button next to the colour scheme first in order to create a new colour theme - you cannot change anything unless you create a copy.
PHPStorm protip - if you can't find the settings, just use the search field:
Another alternative is hitting CTRL/CMD+Shift+A and searching console:
After setting the font, rebooting is not necessary, just close then open a new terminal as shown here:
Settings (Preferences on Mac) | Editor | Colors & Fonts | Console Font
NOTE: that you cannot edit bundled color scheme -- you will have to make a copy of bundled in order to be able to make changes.
I'm having a new issue since moving to PhpStorm 8.0.3 Whenever I am in a *.blade.php.
Whenever I type some text and hit tab it wraps it as a xml element. I tried to disable all the the live templates, but the issue still occurs.
This is pretty annoying as I can't tab through live templates I've created.
asd \t
<asd></asd>
Does anyone know of another settings I may have over looked?
That's Emmet in action.
You can disable it if so desired, but keep in mind that this will affect other languages/formats as well (e.g. HTML/XML files).
Settings (Preferences on Mac) | Editor | Emmet | Enable XML Emmet
I have a SCSS file I am currently working on. The indentation is 4 spaces, but for some reason PHPStorm only moves the cursor 2 spaces every time I tab. Is there a way to change this? Strange thing is I have other files in the project (mostly JS) and they are tabbed 4 spaces.
Settings/Preferences
Editor | Code Style
Now select your desired language (as it's configured on per language basis) and check the option on the "Tabs and Indents" tab.
If you are using the actual Tab symbol for intents then you will see the changes straight away. But if you use Space then you will need to invoke Code | Reformat Code (or similar Code | Reformat File...) to see the changes in the indents.
In case if you have changed the settings in Code Style but still see the old/different settings being applied: check if you have .editorconfig file(s) in your project and EditorConfig is enabled (by default).
The settings from such a file will overwrite your Code Style settings (it's expected as it's the nature of such files). In this case you will need to edit your .editorconfig file (or disable EditorConfig integration).
P.S. I prefer setting the basic settings (like indent size, indent symbol etc) in the .editorconfig file. It's portable, flexible, and allows setting up different settings for files that do not have dedicated Code Style settings in the IDE.
After applying the settings, the tab will not apply right away. For this to work you have to Code -> Reformat Code
You can set the tab and indent for each language you code in.