netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

Export js/css/php format-settings

Open mokraemer opened this issue 2 months ago • 1 comments

Description

Netbeans has an option to export settings and import them into other instances. There is also an option to export format settings, which is good if collaboration. Unfortunately there is only a global setting and a setting for java, bot all other languages are missing. If you try to export the formating for e.g. php or js this does not work. There is no obvious option to export those settings.

Use case/motivation

Working in groups and using git/mercurial needs format guidelines, otherwise the code is changed every release. In order to keep that sync, it would be a good thing to get these settings exported.

Related issues

No response

Are you willing to submit a pull request?

No

mokraemer avatar Oct 22 '25 08:10 mokraemer

might need this kind of layer registration for the other languages: https://github.com/apache/netbeans/blob/8e2bc77e581e04ab1b52575b16d61fc3ff95bcfe/java/java.source.base/src/org/netbeans/modules/java/source/base/layer.xml#L57-L64

mbien avatar Oct 22 '25 19:10 mbien