PhpStorm cannot "Synchronize all" despite mapping configured - phpstorm

I am facing an issue with PhpStorm: I don't have access to "Synchronize all" button in compare window.
However, I can still upload to my server using direct menu :
Also if I add /.idea in deployment excluded path then it will exclude everything even if it's not inside /idea. I have to remove unselected filter to show my files...
It's not really convenient and I don't know what went wrong. Any help is highly appreciated :)

Thanks to comment of #LazyOne I could solve my problem.
I went into settings > directories and redefined root folder for my project. Then I could access to synchronize all.
Note that you need a default server to be able to sync.

Related

Lyx reconfiguration error on Mac and how to use .cls and .bst files on Lyx

Recently, the forward search on Lyx all of sudden stop working and the customized layout also stop working...
So, I try to reconfigure by clicking Tools - Reconfigure, but it says "The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly. Please reconfigure again if needed."
If I select customized document class then it says "Due to some error in it, the layout file: artticletheorem could not loaded. A default textclass with default layouts will be used. Lyx will not be able to produce correct output." I don't know what happened... It used to work well with no issue.
In addition, I would be very much appreciated if someone let me know how to use .cls file in lyx. It looks like I need .layout file, but how can I convert it? Also, I have .bst file for the reference style, but I have no idea how to use it in Lyx...

VS Code - How to stop it deleting whitespaces?

I am using Microsoft's VS Code to edit css, html and ts files that are shared by my team on a VSTS Git repo. However, my VS Code keeps removing empty/whitespaces that my colleagues added when I save any change (Image below) and this screws up the whole Git Diff part, as almost every single line of code shows as a diff.
I tried to disable every single config setup but nothings works:
At the end, what was causing my problem was the extension: EditorConfig for VS Code
This plugin attempts to override user/workspace settings with settings
found in .editorconfig files. No additional or vscode-specific files
are required. As with any EditorConfig plugin, if root=true is not
specified, EditorConfig will continue to look for an .editorconfig
file outside of the project.
I believe, it was overriding the options I selected inside of VS Code (such as files.trimTrailingWhitespace: false). So, no setup change I was making was actually being applied.
It seems you have trailing whitespace enabled in User Preferences too.
I'd suggest opening your configuration file of VSCode using
CtrlShiftP or
CmdShiftP in Mac and then go to Open User Settings.
I'm sure the next line is around there somewhere, delete it or change it to false.
files.trimTrailingWhitespace": true
In my case, the JS-CSS-HTML Formatter extension from lonefy
caused the problem.
Editor › Comments: Ignore Empty Lines
——>choose :false

Access - change DB icon

Is there any way to change a desktop icon for only one Access DB ? And not using shorcut for icons ?...I've found some examples for doing this, but nothing seems to work for me.
Any help much appreciated !
not sure if this is what you're looking for but in Office 2010 for example Go to
Access Options & Click Current Database. Under Application Options, in the Application Icon box, you can either type in the full Path of the icon that you want or browse to the file location.
https://support.office.com/en-us/article/Add-a-custom-title-or-icon-to-a-database-0e43e135-dd0d-4451-84ea-4f547e14480e
I dont know why answer was deleted, but once again - you can't change Access DB icon for only 1 file, except using shortcuts method - which is not same.
I am pretty sure that you can do this using the package and distribute wizard. You can then distribute the database as an executable file, I think (not 100%). this would show without the shortcut arrow on the desktop.
File> save and publish> package solution
You may first have to go to options> add-ins > manage com add-ins and enable the package solution add-in.

Phpstorm shows js files as updated

When doing "Sync with deployed on ..." in phpstorm, the diff shows as if all local js files were updated recently and thus offers to upload them even they were not changed or most recent changes are on the server. Anyone had this weird issue or knows how to fix it?
The GUI allows you to switch to "Compare by: Content". Note that this will be more bandwidth-intensive than comparing by modification date.
See e.g. this for a screenshot: https://www.jetbrains.com/phpstorm/help/comparing-deployed-files-and-folders-with-their-local-versions.html

MODX: where are new_folder_permissions and new_file_permissions?

Those are asked during the installation, but are not anywhere in config files\tables to change afterwards
EDIT:
The changelog states the following:
[#MODX-760], [#MODX-1080], [#MODX-1528] Added setup option to set new_file_permissions and new_folder_permissions in welcome view
[#MODX-760], [#MODX-1528] Removed new_file_permissions and new_folder_permissions system settings from setup
Seems kinda weird to me to do that... I am still in need to change them, though.
It appears that these should be in your MODX System Settings although I wasn't able to locate them in any of my own MODX installs (all Revo 2.1+). There's a chance they might be redundant or are for some reason not being properly created during installation (in which case it might be an installer bug).
You might be able to override them by adding those settings, like so:
Key: new_folder_permissions
Value: 0755
Do that and then try creating a new folder using the File Manager. Let us know if the correct permissions are then being used. If so I'll look at opening up a bug report for the installer.
They are not in System Settings, as they default to the PHP umask values, as they should. If you want to override them, you can do so by adding the settings "new_file_permissions" or "new_folder_permissions" to your System Settings.
apache/webuser needs to write to:
core/cache
core/export
core/config/config.inc.php [change back after install]
core/packages
core/components
assets/components
EDIT Sorry, take a look here: core/model/modx/processors/system/filesys/folder/create.php
they appear to be hard coded in that file.