You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,16 +13,16 @@ This project adheres to the [Open Code of Conduct][code-of-conduct]. By particip
13
13
14
14
## Submitting a pull request
15
15
16
-
0.[Fork][] and clone the repository (see Build Instructions in the [README][readme])
17
-
0. Create a new branch: `git checkout -b my-branch-name`
18
-
0. Make your change, add tests, and make sure the tests still pass
19
-
0. Push to your fork and [submit a pull request][pr]
20
-
0. Pat your self on the back and wait for your pull request to be reviewed and merged.
16
+
1.[Fork][] and clone the repository (see Build Instructions in the [README][readme])
17
+
2. Create a new branch: `git checkout -b my-branch-name`
18
+
3. Make your change, add tests, and make sure the tests still pass
19
+
4. Push to your fork and [submit a pull request][pr]
20
+
5. Pat your self on the back and wait for your pull request to be reviewed and merged.
21
21
22
22
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
23
23
24
-
- Follow the existing code's style.
25
-
- Write tests.
24
+
- Follow the style/format of the existing code.
25
+
- Write tests for your changes.
26
26
- Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
27
27
- Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
28
28
@@ -38,7 +38,7 @@ There are certain areas of the extension that are restricted in what they can do
38
38
### Bug Reporting
39
39
40
40
Here are a few helpful tips when reporting a bug:
41
-
- Verify the bug resides in the GitHub for Visual Studio extension
41
+
- Verify that the bug resides in the GitHub for Visual Studio extension
42
42
- A lot of functionality provided by this extension resides in the Team Explorer pane, alongside other non-GitHub tools to manage and collaborate on source code, including Visual Studio's Git support, which is owned by Microsoft.
43
43
- If this bug not is related to the GitHub extension, visit the [Visual Studio support page](https://www.visualstudio.com/support/support-overview-vs) for help
44
44
- Screenshots are very helpful in diagnosing bugs and understanding the state of the extension when it's experiencing problems. Please include them whenever possible.
Hello! Please read the contributing guidelines before submitting an issue regarding the GitHub Extension for Visual Studio.
1
+
<!-- Hello! Please read the [contributing guidelines](https://github.com/github/VisualStudio/blob/master/CONTRIBUTING.md) before submitting an issue regarding the GitHub Extension for Visual Studio. -->
2
+
3
+
## Version
2
4
3
5
- GitHub Extension for Visual Studio version:
4
6
- Visual Studio version:
5
7
6
-
__What happened__ (with steps, logs and screenshots, if possible)
8
+
## What happened
9
+
10
+
**Steps to Reproduce**
11
+
12
+
1.[First Step]
13
+
2.[Second Step]
14
+
3.[and so on...]
15
+
16
+
**Expected behavior:**[What you expect to happen]
17
+
18
+
**Actual behavior:**[What actually happens]
19
+
20
+
**Screenshot or GIF:**
21
+
22
+
**Log file:**
23
+
24
+
<!-- Include the log file. Logs can be found at: `%LOCALAPPDATA%\GitHubVisualStudio\extension.log` -->
Copy file name to clipboardExpand all lines: docs/developer/how-viewmodels-are-turned-into-views.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,8 +65,8 @@ This is the basis for converting view models to views.
65
65
66
66
There are currently two top-level controls for our UI:
67
67
68
-
-[GitHubDialogWindow](../src/GitHub.VisualStudio/Views/Dialog/GitHubDialogWindow.xaml) for the dialog which shows the login, clone, etc views
69
-
-[GitHubPaneView](../src/GitHub.VisualStudio/Views/GitHubPane/GitHubPaneView.xaml) for the GitHub pane
68
+
-[GitHubDialogWindow](../../src/GitHub.VisualStudio/Views/Dialog/GitHubDialogWindow.xaml) for the dialog which shows the login, clone, etc views
69
+
-[GitHubPaneView](../../src/GitHub.VisualStudio/Views/GitHubPane/GitHubPaneView.xaml) for the GitHub pane
70
70
71
71
In the resources for each of these top-level controls we define a `DataTemplate` like so:
72
72
@@ -77,10 +77,10 @@ In the resources for each of these top-level controls we define a `DataTemplate`
77
77
</DataTemplate>
78
78
```
79
79
80
-
The `DataTemplate.DataType` here applies the template to all classes inherited from [`GitHub.ViewModels.ViewModelBase`](../src/GitHub.Exports.Reactive/ViewModels/ViewModelBase.cs)[1]. The template defines a single `ContentControl` whose contents are created by a `ViewLocator`.
80
+
The `DataTemplate.DataType` here applies the template to all classes inherited from [`GitHub.ViewModels.ViewModelBase`](../../src/GitHub.Exports.Reactive/ViewModels/ViewModelBase.cs)[1]. The template defines a single `ContentControl` whose contents are created by a `ViewLocator`.
81
81
82
-
The [`ViewLocator`](../src/GitHub.VisualStudio/Views/ViewLocator.cs) class is an `IValueConverter` which then creates an instance of the appropriate view for the view model using MEF.
82
+
The [`ViewLocator`](../../src/GitHub.VisualStudio/Views/ViewLocator.cs) class is an `IValueConverter` which then creates an instance of the appropriate view for the view model using MEF.
83
83
84
84
And thus a view model becomes a view.
85
85
86
-
[1]: it would be nice to make it apply to all classes that inherit `IViewModel` but unfortunately WPF's `DataTemplate`s don't work with interfaces.
86
+
[1]: it would be nice to make it apply to all classes that inherit `IViewModel` but unfortunately WPF's `DataTemplate`s don't work with interfaces.
0 commit comments