File tree 2 files changed +7
-13
lines changed
2 files changed +7
-13
lines changed Original file line number Diff line number Diff line change 1
1
// Place your settings in this file to overwrite default and user settings.
2
2
{
3
3
"editor.tabSize" : 2 ,
4
- "files.exclude" : {
5
- "dist" : false // set this to true to hide the "dist" folder with the compiled JS files
6
- },
7
- "search.exclude" : {
8
- "dist" : true // set this to false to include "dist" folder in search results
9
- },
10
4
"editor.codeActionsOnSave" : {
11
5
"source.fixAll.eslint" : true
12
6
}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export enum JsonNodeType {
16
16
String = "string" ,
17
17
Number = "number" ,
18
18
Boolean = "boolean" ,
19
- Property = "property" ,
19
+ Property = "property"
20
20
}
21
21
22
22
/**
@@ -100,14 +100,14 @@ export class IntelliSenseUtility {
100
100
public static getInstancesOfPropertyNode ( propertyNode : PropertyNode ) : string [ ] {
101
101
const instances : string [ ] = [ ] ;
102
102
if ( propertyNode ?. constraint . in ) {
103
- for ( const instance of propertyNode . constraint . in ) {
104
- instances . push ( IntelliSenseUtility . resolveNodeName ( instance ) ) ;
105
- }
106
- return instances ;
103
+ for ( const instance of propertyNode . constraint . in ) {
104
+ instances . push ( IntelliSenseUtility . resolveNodeName ( instance ) ) ;
105
+ }
106
+ return instances ;
107
107
}
108
108
109
109
if ( propertyNode ?. type ) {
110
- const typeClassNode : ClassNode | undefined = IntelliSenseUtility . getClassNode ( propertyNode . type ) ;
110
+ const typeClassNode : ClassNode | undefined = IntelliSenseUtility . getClassNode ( propertyNode . type ) ;
111
111
if ( typeClassNode ) {
112
112
return IntelliSenseUtility . getInstancesOfClassNode ( typeClassNode ) ;
113
113
}
@@ -326,7 +326,7 @@ export class IntelliSenseUtility {
326
326
}
327
327
const outerProperty : parser . Node | undefined = IntelliSenseUtility . getParentJsonNodeByType (
328
328
node ,
329
- JsonNodeType . Property ,
329
+ JsonNodeType . Property
330
330
) ;
331
331
if ( ! outerProperty ) {
332
332
return Constants . EMPTY_STRING ;
You can’t perform that action at this time.
0 commit comments