This repository was archived by the owner on Oct 16, 2020. It is now read-only.
Commit 645ef5d
Fix scoping issue with the code completion suggestions list
Fixes the following issue with code completion.
class Foo
{
public void Bar() {}
}
var foo = new Foo();
foo.
^ Pressing Ctrl+Space here makes the code completion window show
itself. The completions list contains the type names from the 'global'
scope whereas it should contain only the list of Foo's members.
Cherry-picked from pull request #7301 parent 17294bb commit 645ef5d
File tree
2 files changed
+27
-1
lines changed- src/AddIns/BackendBindings/CSharpBinding/Project/Src/Completion
2 files changed
+27
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
| |||
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
83 | 107 | | |
84 | 108 | | |
85 | 109 | | |
| |||
0 commit comments