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

Creating a new Tool Window from the template should name the generated ViewModel with 'ViewModel' #387

Open
luislhg opened this issue Jun 1, 2024 · 0 comments

Comments

@luislhg
Copy link

luislhg commented Jun 1, 2024

Hello, when we create a new Extensibility Tool Window it generates a sample window
image

It created ToolWindowContent.xaml and a ToolWindowData.cs (which is the ViewModel)
It should be named ToolWindowViewModel and not Data, which doesn't really make sense in a MVVM convention/project...

This is a simple thing, but a repetitive one...
It breaks compatibility/conventions with MVVM extensions and guidelines, so everytime we create a window we have to manually rename it...

Unless I'm missing something and there is a strong reason this was suffixed with Data?

@luislhg luislhg changed the title Creating a new Tool Window from the template should name the generated ViewModel with 'ViewModel' at the end and not 'Data' Creating a new Tool Window from the template should name the generated ViewModel with 'ViewModel' Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant