[jira] [Commented] (NETBEANS-5502) Automatically format code when saved.

2021-03-25 Thread Michal Rama (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17308802#comment-17308802
 ] 

Michal Rama commented on NETBEANS-5502:
---

Hi

Oh, I can't search. And it works properly. So the problem is solved. Thank you

> Automatically format code when saved.
> -
>
> Key: NETBEANS-5502
> URL: https://issues.apache.org/jira/browse/NETBEANS-5502
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Formatting  Indentation, java - Editor, 
> javafx - Editor
>Affects Versions: 12.3
> Environment: Windows 10, Apache NetBeans 12.3, Java 15.0.2
>Reporter: Michal Rama
>Priority: Major
>  Labels: code, editor, format, java, javafx
>
> Hello,
> Currently, the code can be formatted via the right button or cat shortcuts. 
> However, if I save the file and have it formatted, I have to save it again.
> A feature with the ability to format the code along with the save would be 
> useful.
> Thank you



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-5502) Automatically format code when saved.

2021-03-25 Thread Eric Barboni (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17308797#comment-17308797
 ] 

Eric Barboni commented on NETBEANS-5502:


Hi,

 You should try Tools -> Options -> Editor -> On save

>From this point you can configure to format your file on save.

Hope it helps

> Automatically format code when saved.
> -
>
> Key: NETBEANS-5502
> URL: https://issues.apache.org/jira/browse/NETBEANS-5502
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Formatting  Indentation, java - Editor, 
> javafx - Editor
>Affects Versions: 12.3
> Environment: Windows 10, Apache NetBeans 12.3, Java 15.0.2
>Reporter: Michal Rama
>Priority: Major
>  Labels: code, editor, format, java, javafx
>
> Hello,
> Currently, the project can be formatted via the right button or cat 
> shortcuts. However, if I save the project and have it formatted, I have to 
> save it again.
> A feature with the ability to format the code along with the save would be 
> useful.
> Thank you



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists