File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
DarkId.Papyrus.LanguageService/Program Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public static IEnumerable<PapyrusSymbol> GetScriptMemberSymbols(this ScriptSymbo
73
73
74
74
if ( ! globalOnly )
75
75
{
76
- var kindFilter = SymbolKinds . Property | SymbolKinds . Function | SymbolKinds . Struct ;
76
+ var kindFilter = SymbolKinds . Property | SymbolKinds . Function | SymbolKinds . Struct | SymbolKinds . Group ;
77
77
if ( includeDeclaredPrivates )
78
78
{
79
79
kindFilter |= SymbolKinds . Variable | SymbolKinds . Event ;
Original file line number Diff line number Diff line change @@ -65,6 +65,10 @@ public void GetReferencableSymbols_FunctionBody()
65
65
{
66
66
var symbols = GetReferencableSymbolsAtMarker ( "function-body" ) ;
67
67
symbols . AssertAreOfKinds ( SymbolKinds . Script | SymbolKinds . Struct | SymbolKinds . Function | SymbolKinds . Variable | SymbolKinds . Property ) ;
68
+
69
+ #if FALLOUT4
70
+ Assert . IsNotNull ( symbols . SingleOrDefault ( s => s . Name == "GroupProperty" ) ) ;
71
+ #endif
68
72
}
69
73
70
74
[ TestMethod ]
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ Scriptname BaseScript extends ScriptObject
3
3
int scriptObjectIntVariable
4
4
int Property ScriptObjectIntProperty Auto
5
5
6
+ Group PropertyGroup
7
+ int Property GroupProperty Auto
8
+ EndGroup
9
+
6
10
Struct StructA
7
11
int structIntVariable
8
12
string structStringVariable
You can’t perform that action at this time.
0 commit comments