1.1.32 • Published 3 years ago
sr_vscode_common v1.1.32
vscode common functions
editor functions
- editor_selectionLine( editor?: vscode.TextEditor ) : vscode.TextLine
trackRange
- iTrackRangeItem interface
- trackRangeArray_push
- trackRangeArray_applyDocumentChange
text functions
- iDocumentLineXref[] = text_toLineXref( text, eol )
- iDocumentLineXref = lineXref_findTextIndex( iDocumentLineXref[], index )
textLine functions
- textLine_declareFunctionName( line?: vscode.TextLine ) : string
sql text functions
- {objectType, objectName} = sqlText_createObjectName( sqlText )
parse javascript statement functions
- {objectName, funcName, protoName, isAsync } = javascript_declareFunctionName( lineText: string)
- { interfaceName } = javascript_declareInterfaceName( text: string )
- { className } = javascript_declareClassName( text: string )
- { methodName } = javascript_declareClassMethodName( text: string )
parse json functions
- {root, lineXref} = editJson_parse( text )
- vlu = jsonArray_toVlu( iJsonArray )
- vlu = jsonObject_toVlu( iJsonObject )
- vlu = jsonItem_toVlu( iJsonItem )
- vlu = jsonScalar_toVlu( iJsonScalar )
parse json interfaces
- iJsonParseResults
- iJsonArray
- iJsonItem
- iJsonObject
- iJsonObjectProperty
- iJsonScalar
serverUrl functions
- serverUrl = await rock_getServerUrl( )
- connectSettings = await rock_getConnectSettings( )
publish instructions
- increment version number in package.json
- make sure any new functions are imported and exported in index.ts
- npm run build
- npm run test
- git add, commit, push to repo
- npm publish
- npm update in projects which use this package
1.1.32
3 years ago
1.1.30
3 years ago
1.1.31
3 years ago
1.1.29
3 years ago
1.1.28
3 years ago
1.1.27
3 years ago
1.1.26
3 years ago
1.1.25
3 years ago
1.1.23
3 years ago
1.1.22
3 years ago
1.1.21
3 years ago
1.1.20
3 years ago
1.1.19
4 years ago
1.1.18
4 years ago
1.1.17
4 years ago
1.1.16
4 years ago
1.1.15
4 years ago
1.1.14
4 years ago
1.1.13
4 years ago
1.1.12
4 years ago
1.1.11
4 years ago
1.1.10
4 years ago
1.1.9
4 years ago
1.1.8
4 years ago
1.1.7
4 years ago
1.1.6
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago