Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bicep in VS] The Format Document option is missing in the advanced menu from Visual Studio 2022 for a bicep file #14195

Open
StefH opened this issue May 31, 2024 · 4 comments
Assignees
Labels
devdiv Related to Bicep tooling efforts in DevDiv VisualStudio

Comments

@StefH
Copy link

StefH commented May 31, 2024

Visual Studio 2022 version

Microsoft Visual Studio Community 2022
Version 17.10.0
VisualStudio.17.Release/17.10.0+34916.146
Microsoft .NET Framework
Version 4.8.09032

Installed Version: Community

Visual C++ 2022   00482-90000-00000-AA773
Microsoft Visual C++ 2022

ADL Tools Service Provider   1.0
This package contains services used by Data Lake tools

ASA Service Provider   1.0

ASP.NET and Web Tools   17.10.338.1105
ASP.NET and Web Tools

ASP.NET Web Frameworks and Tools 2012   17.10.338.1105
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0   17.10.338.1105
Azure App Service Tools v3.0.0

Azure Data Lake Tools for Visual Studio   2.6.5000.0
Microsoft Azure Data Lake Tools for Visual Studio

Azure Functions and Web Jobs Tools   17.10.338.1105
Azure Functions and Web Jobs Tools

Azure Stream Analytics Tools for Visual Studio   2.6.5000.0
Microsoft Azure Stream Analytics Tools for Visual Studio

C# Tools   4.10.0-3.24265.4+91c77369a0242946f66e16a04587e2860357beef
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Extensibility Message Bus   1.4.39 (main@e8108eb)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.

GitHub Copilot   0.2.889.30432
GitHub Copilot is an AI pair programmer that helps you write code faster and with less work.

Markdown Editor v2   2.0.164
A full featured Markdown editor with live preview and syntax highlighting. Supports GitHub flavored Markdown.

Microsoft Azure Hive Query Language Service   2.6.5000.0
Language service for Hive query

Microsoft Azure Stream Analytics Language Service   2.6.5000.0
Language service for Azure Stream Analytics

Microsoft Azure Tools for Visual Studio   2.9
Support for Azure Cloud Services projects

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Mono Debugging for Visual Studio   17.10.8 (a565b86)
Support for debugging Mono processes with Visual Studio.

Node.js Tools   1.5.60329.1 Commit Hash:15fce86a17f9f33e5bd7ca7ccb9b216aff149252
Adds support for developing and debugging Node.js apps in Visual Studio

NuGet Package Manager   6.10.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

Razor (ASP.NET Core)   17.10.3.2420403+bb51c9aed4e1001def084176c9ec95e1ef6792eb
Provides languages services for ASP.NET Core Razor.

SQL Server Data Tools   17.10.171.4
Microsoft SQL Server Data Tools

ToolWindowHostedEditor   1.0
Hosting json editor into a tool window

TypeScript Tools   17.0.30327.2001
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools   4.10.0-3.24265.4+91c77369a0242946f66e16a04587e2860357beef
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools   17.10.0-beta.24228.1+dd749058c91585e9b5dae62b0f8df892429ee28f
Microsoft Visual F# Tools

Visual Studio IntelliCode   2.2
AI-assisted development for Visual Studio.

VisualStudio.DeviceLog   1.0
Information about my package

VisualStudio.Mac   1.0
Mac Extension for Visual Studio

VSColorOutput64   2023.4
Color output for build and debug windows - https://mike-ward.net/vscoloroutput

VSPackage Extension   1.0
VSPackage Visual Studio Extension Detailed Info

WiX Toolset Visual Studio Extension   1.0.0.22
WiX Toolset Visual Studio Extension version 1.0.0.22
Copyright (c) .NET Foundation and contributors. All rights reserved.

Xamarin   17.10.0.110 (main@cf2e960)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer   17.10.3.10 (remotes/origin/d17-10@3beef58f89)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin Templates   17.9.0 (38e87ba)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.

Xamarin.Android SDK   13.2.2.0 (d17-5/45b0e14)
Xamarin.Android Reference Assemblies and MSBuild support.
    Mono: d9a6e87
    Java.Interop: xamarin/java.interop/d17-5@149d70fe
    SQLite: xamarin/sqlite/3.40.1@68c69d8
    Xamarin.Android Tools: xamarin/xamarin-android-tools/d17-5@ca1552d


Xamarin.iOS and Xamarin.Mac SDK   16.4.0.23 (9defd91b3)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

Describe the bug
The Format Document option is missing in the advanced menu from Visual Studio 2022 for a bicep file

To Reproduce
Create a .bicep file and open the "Edit" --> "Advanced" menu

See:
image

@stephaniezyen
Copy link
Contributor

@StephenWeatherford can you look into this? Is it a VS Code issue?

@stephaniezyen stephaniezyen added the devdiv Related to Bicep tooling efforts in DevDiv label Jun 12, 2024
@StephenWeatherford StephenWeatherford changed the title The Format Document option is missing in the advanced menu from Visual Studio 2022 for a bicep file [Bicep in VS] The Format Document option is missing in the advanced menu from Visual Studio 2022 for a bicep file Jun 17, 2024
@StephenWeatherford
Copy link
Contributor

This is Bicep in VS. Related to #14316?

@StefH Did this used to work?

@StefH
Copy link
Author

StefH commented Jun 17, 2024

@StephenWeatherford
I cannot reproduce this on my system (17.10 )anymore...

However, it should work according to https://marketplace.visualstudio.com/items?itemName=ms-azuretools.visualstudiobicep

image


And using the keys, shows this error:
image

@StefH
Copy link
Author

StefH commented Jun 20, 2024

I tested on another system with Visual Studio version 17.9.2 and this still works (using the same version = latest from the bicep extension).

-->

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devdiv Related to Bicep tooling efforts in DevDiv VisualStudio
Projects
Status: Todo
Development

No branches or pull requests

4 participants