christianhelle / apiclientcodegen

A collection of Visual Studio custom tool code generators for Swagger / OpenAPI specification files
http://bit.ly/restapicodegen
GNU General Public License v3.0
177 stars 23 forks source link

.refitter VS Integration is not appearing #889

Closed dammitjanet closed 5 months ago

dammitjanet commented 5 months ago

Describe the bug

The introduction of the Visual Studio .refitter file integration #845 should show a menu when right clicking a filename with .refitter extension, however this is not currently appearing.

Support Key: ecbee24

To Reproduce Steps to reproduce the behavior:

  1. Right click an existing .refitter file

Expected behavior The menu should appear

Screenshots Screenshot 2024-05-07 at 12 01 49

Visual Studio Extension (please complete the following information):

Additional context please note the OpenAPI spec is not in this class library, that location is defined in the refitter file refitter is installed globally, and is running the latest v1.0.0..0 with support key 7l7irxz

christianhelle commented 5 months ago

This is because I haven't released it to the marketplace yet... I plan to do this soon, but I would like to batch it with other updates.

The feature will be included in v1.10.1

dammitjanet commented 5 months ago

doh! thanks Christian - thought the release contained it - my bad

christianhelle commented 5 months ago

@dammitjanet the feature is now released to the marketplace

You can right click on a .refitter file and select Generate Refitter output or you can set a CustomTool to the .refitter file so that Visual Studio will automagically generate a code-behind file for the .refitter file every time you make changes to the .refitter file from Visual Studio

like this: image

I hope you find it useful.

dammitjanet commented 5 months ago

Working perfectly 👍