wuwuxin 28 Posted October 6, 2021 Delphi 11 - For inline variables, the code formatter would insert a break line after var - is there any fix for that? Share this post Link to post
Anders Melander 1783 Posted October 6, 2021 https://quality.embarcadero.com/browse/RSP-22089?jql=text ~ "formatter inline" Share this post Link to post
Anders Melander 1783 Posted October 6, 2021 Quote When can this be fixed? Delphi 11 still has this problem. You don't have to tell them that the problem still exists. They know that they haven't fixed it. You won't get any meaningful answer to your question. Share this post Link to post
FredS 138 Posted October 6, 2021 43 minutes ago, Anders Melander said: They know that they haven't fixed it. You can't really expect a new feature like that to be implemented in under 3 years.. /s 1 Share this post Link to post
Darian Miller 361 Posted October 6, 2021 https://quality.embarcadero.com/browse/RSP-28948 See note from Marco on RSP-28948: May 14, 2020 "The formatter is not related with CodeInsight and LSP and is an area we plan addressing next." The recently released RAD Studio 11 now only offers LSP for CodeInsight (classic codeinsight has been retired) so I hope that project is now considered 'done' and I would also hope that a new code formatter is on deck. Share this post Link to post
Bill Meyer 337 Posted October 6, 2021 11 minutes ago, Darian Miller said: The recently released RAD Studio 11 now only offers LSP for CodeInsight (classic codeinsight has been retired) so I hope that project is now considered 'done' and I would also hope that a new code formatter is on deck. I think you have the relationship reversed, and meant to write that CodeInsight is only operative with LSP. As reported above, the problem is present in RAD Studio 11. No doubt that is why the case cited is marked "unresolved." Share this post Link to post