Github Copilot code formatting #52859
-
Beta Was this translation helpful? Give feedback.
Replies: 12 comments 4 replies
-
I also see this issue: Visual Studio 2022 17.5.5 |
Beta Was this translation helpful? Give feedback.
-
I also had this issue but it appears to have been fixed for me with VS2022 Version 17.6.0 Preview 6.0 |
Beta Was this translation helpful? Give feedback.
-
Thank You @pontusnaslund for sharing. @leo-zspace and @CodyALohse - could you please check if updating to the latest version of VS2022 Version 17.6.0 Preview 6.0 solves the issue for you? |
Beta Was this translation helpful? Give feedback.
-
I'm using Visual Studio 2022 17.6.2, and I'm still seeing this issue. Did any of the fixes from the previews not make it in the regular build? Full version infoMicrosoft Visual Studio Professional 2022 Version 17.6.2 VisualStudio.17.Release/17.6.2+33723.286 Microsoft .NET Framework Version 4.8.04084Installed Version: Professional ASP.NET and Web Tools 17.6.326.62524 Azure App Service Tools v3.0.0 17.6.326.62524 Azure Functions and Web Jobs Tools 17.6.326.62524 C# Tools 4.6.0-3.23259.8+c3cc1d0ceeab1a65da0217e403851a1e8a30086a Common Azure Tools 1.10 GitHub Copilot 1.84.0.1 (v1.84.0.1@760da3695) GitHub Copilot Agent 1.84.51 (v1.84.0) Microsoft Azure Tools for Visual Studio 2.9 Microsoft JVM Debugger 1.0 NuGet Package Manager 6.6.0 Razor (ASP.NET Core) 17.6.0.2326105+37f2727000f6a964584cafb86e69cf0b39baecb7 SQL Server Data Tools 17.6.13.0 TypeScript Tools 17.0.20329.2001 Visual Basic Tools 4.6.0-3.23259.8+c3cc1d0ceeab1a65da0217e403851a1e8a30086a Visual F# Tools 17.6.0-beta.23174.5+0207bea1afae48d9351ac26fb51afc8260de0a97 Visual Studio IntelliCode 2.2 |
Beta Was this translation helpful? Give feedback.
-
I'm using Visual Studio 17.6.3 and facing the same issue. I'm using C/C++. A fix is to change the tab setting to 'insert spaces'. If this is done it works as expected, but I don't want that. |
Beta Was this translation helpful? Give feedback.
-
This is still an issue on Visual Sutdio 17.6.4 and Github Copilot 1.84.0.1 (latest versions of both). editorconfig settings:
I turned off adaptive formatting and this issue seemed to occur less, but it didn't completely go away. |
Beta Was this translation helpful? Give feedback.
-
I have this issue under VS 17.7.4 with C#. Changing from "Smart" to "Block" does nothing. |
Beta Was this translation helpful? Give feedback.
-
Using 17.7.5 and the issue is still there... Everything latest version |
Beta Was this translation helpful? Give feedback.
-
I'm running 17.8.1 and it's still present, a colleague of mine is running the latest preview and says it's still present there too. Is there any road map for a fix @Akash1134, do you need any more reproduction information? |
Beta Was this translation helpful? Give feedback.
-
I just upgraded to Version 17.8.5 and the issue is still there. Can you fix it please, it really impairs a user experience with CoPilot. |
Beta Was this translation helpful? Give feedback.
-
Issue is still there. |
Beta Was this translation helpful? Give feedback.
-
@guillaume86 @AntonZhuchkovXOR @parched @LockTar we've got a pull request in that may address the issue. -- |
Beta Was this translation helpful? Give feedback.
I also had this issue but it appears to have been fixed for me with VS2022 Version 17.6.0 Preview 6.0