You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the install script to copy code style to a specific project, after opening project in Android Studio 3.5 the code style file gets corrupted with several configuration options removed.
Console output when running install.sh:
Lukaszs-MBP:AndroidCodeStyle lukasz$ ./install.sh ../ThirtyInch/
Installing GCX AndroidStudio code style...
Copying...
/Users/lukasz/Projects/Android/AndroidCodeStyle/styles/grandcentrix.xml -> ../ThirtyInch/.idea/codestyles/grandcentrix.xml
Renaming grandcentrix.xml to Project.xml
Done.
Restart AndroidStudio. Go to Preferences->Editor->Code Style and apply Scheme 'grandcentrix'.
Directly after copying the codeStyle in project is identical with the original file from which it was copied (grandcentrix.xml). So the script copies the file correctly 👍
After opening the project with the new code style in Android Studio, directly after Android Studio has finished indexing it, most of the configuration options get removed.
Also I think the message at the end of the script console output is misleading: Restart AndroidStudio. Go to Preferences->Editor->Code Style and apply Scheme 'grandcentrix'.
It doesn't make sense, because grandcentrix is the name of the scheme which is globally installed in your IDE (if you have installed it globally in the first place).
The scheme which has been copied to your project is called Project.xml because it got renamed by the script. Also if you go to preferences you see it's already selected.
The text was updated successfully, but these errors were encountered:
When using the install script to copy code style to a specific project, after opening project in Android Studio 3.5 the code style file gets corrupted with several configuration options removed.
Console output when running
install.sh
:Directly after copying the codeStyle in project is identical with the original file from which it was copied (
grandcentrix.xml
). So the script copies the file correctly 👍After opening the project with the new code style in Android Studio, directly after Android Studio has finished indexing it, most of the configuration options get removed.
A sample of what gets removed:
...and much more.
Also I think the message at the end of the script console output is misleading:
Restart AndroidStudio. Go to Preferences->Editor->Code Style and apply Scheme 'grandcentrix'.
It doesn't make sense, because
grandcentrix
is the name of the scheme which is globally installed in your IDE (if you have installed it globally in the first place).The scheme which has been copied to your project is called
Project.xml
because it got renamed by the script. Also if you go to preferences you see it's already selected.The text was updated successfully, but these errors were encountered: