NetBeans formatting settings file

北战南征 提交于 2019-12-24 03:06:51

问题


Where does NetBeans store code formatting settings? I'd like to export them to another computer.


回答1:


  • In Mac

Go to the main menu:

Netbeans, Preferences

  • In Windows

Go to the main nemu:

Window, Options

  • Then, in any of both

You will have to select any of the available tabs (editor, fonts and colors, ...) then click in export button

Once you have got the zip file, you can import it into another Netbeans's installation




回答2:


I'm aware that this is an old post but since it's the top result when you google "netbeans php export formatting" and it came up in the comments of the approved answer:

Each module (and therefore each language) has to support the export. AFAIK Java had the support for years ( https://netbeans.org/bugzilla/show_bug.cgi?id=143494 ) but other languages are still missing it (as for Netbeans 8.2).

I submitted a patch for PHP today which will hopefully be added: https://netbeans.org/bugzilla/show_bug.cgi?id=269978

If your langauge is missing in the export dialog, your langauge module does not yet support it. So head over to Netbeans and request it as feature or submit a patch.

Cheers Bastian



来源:https://stackoverflow.com/questions/15266361/netbeans-formatting-settings-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!