简体   繁体   中英

Export JavaScript Formatting in Netbeans

Is anyone aware of a way to export the formatting for JavaScript in Netbeans 8.1?

When I click the export button and expand Formatting I do not see an option for JavaScript.

选项的屏幕截图

I've also considered the option of finding the file that these settings are stored in and using that, but I'm not sure where in the Netbeans folder it would be.

Thank you for any feedback.

I was able to track down the file org-netbeans-modules-editor-settings-CustomPreferences.xml at the location \\AppData\\Roaming\\NetBeans\\8.1\\config\\Editors\\text\\javascript\\Preferences . I gave this file to a coworker who placed it in the same directory and restarted the IDE which resulted in the same formatting settings that I had originally configured for mine. So the solution was to just share the file.

Hope this helps someone out in the future.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM