Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
[ID: 558956]
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Unintended behavior
View staffing
Description
If I run inspections in Studio, we flag typos on a lot of non-words in the gradlew and gradlew.bat shell scripts:
We have code which attempts to fix this:https://cs.android.com/android-studio/platform/tools/adt/idea/+/mirror-goog-studio-main:android/src/org/jetbrains/android/spellchecker/AndroidShellSpellcheckingStrategy.kt
However, it seems to have stopped working at some point. The way that class works is that it's registered as a spell checking strategy for shell scripts:https://cs.android.com/android-studio/platform/tools/adt/idea/+/mirror-goog-studio-main:android/src/META-INF/android-plugin.xml;l=646;drc=50ba179e0821db1934306d35d9794d4b814cf4ea
But it looks to me from looking at the icons in the project view for gradlew and gradlew.bat like those files are no longer recognized as shell scripts.
In fact, "gradlew" looks like it's being treated as a C++ file??
See the screenshot -- I've created a file with a ".sh" extension, which is clearly treated as a shell script -- it has the icon with ">" in it. But the gradlew file is using a C++ icon -- and the .bat file is also using some other icon (probably plain text) instead of shell script.