sagrawal31 commented on issue #551:
URL: https://github.com/apache/cordova-cli/issues/551#issuecomment-806427589


   We do it by adding this snippet in our hooks-
   
   ```javascript
   /**
    * Write the name of the app in "platforms/android/.idea/.name" so that 
Android Studio can show that name in the project listing.
    * This is just for a quick look in the Android Studio if we have so many 
projects in Android Studio.
    * @param partner
    */
   function addNameForAndroidStudio(partner, name) {
       const path = 'platforms/android/.idea/';
   
       fs.mkdirSync(path)
       fs.writeFileSync(path + '.name', name);
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to