Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
5716f76
Fix build task
SSlinky Apr 8, 2025
d1e636f
Fix gitignore
SSlinky Apr 9, 2025
5c8019b
New diagnostics and support for related information
SSlinky Apr 9, 2025
66cafe2
Implementation of scopes
SSlinky Apr 9, 2025
1312569
Update ToDo notes
SSlinky Apr 9, 2025
19186d9
Add findType method
SSlinky Apr 9, 2025
48515a2
Simplify duplicate and shadowed logic
SSlinky Apr 9, 2025
4eb40d5
Better ifentification accounts for properties
SSlinky Apr 9, 2025
f71f03f
Update eslint
SSlinky Apr 10, 2025
046c911
Added handling for visibility modifiers.
SSlinky Apr 10, 2025
2d253b7
Appeasing the linter
SSlinky Apr 10, 2025
6091579
Whoopsey!
SSlinky Apr 10, 2025
2945ade
Visibility added to UdtDeclaration
SSlinky Apr 10, 2025
9f2b676
Update logging messages
SSlinky Apr 10, 2025
4d438be
Method visibility support
SSlinky Apr 10, 2025
832e5e9
Fixes #61
SSlinky Apr 10, 2025
70b7b6a
Fixes #60
SSlinky Apr 10, 2025
53e621b
Fixes #61
SSlinky Apr 11, 2025
97c59f5
Decimal in standard vba
SSlinky Apr 11, 2025
0068622
ToDo: Validate attributes
SSlinky Apr 11, 2025
c89698f
Test requires unique names
SSlinky Apr 11, 2025
44457f0
Auto format
SSlinky Apr 11, 2025
8382343
isPublic shouldn't be on base
SSlinky Apr 11, 2025
f1b84fe
Invalid variable declaration diagnostics
SSlinky Apr 11, 2025
8b234b9
Simplified variable parsing no longer requries extensions
SSlinky Apr 11, 2025
b362d5c
Smarter registration and properties
SSlinky Apr 11, 2025
3ae9fee
New variable handling
SSlinky Apr 11, 2025
a9d46ae
Provide unique names to avoid duplicate triggering from other files
SSlinky Apr 11, 2025
1ce199e
1.5.8
SSlinky Apr 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .eslintignore

This file was deleted.

20 changes: 0 additions & 20 deletions .eslintrc.js

This file was deleted.

23 changes: 11 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
#Out file is required by command
#`npm run textMate`, so a placeholder is included in client/out to ensure `out`
#folder is available
**/out/*
!client/out/*.tmp
client/src/syntaxes/dev*
# Generated files.
dist/*
**/antlr/*/
*.vsix
*.tsbuildinfo
*.log

.antlr
# Resources
node_modules
client/server
sample*/**
template*

# Workspace settings
.vscode-test
sample*/**
*.vsix
*.tsbuildinfo
*.log
.vscode/settings.json
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"preLaunchTask": {
"type": "npm",
"script": "compile"
"script": "build"
}
},
{
Expand Down
13 changes: 0 additions & 13 deletions .vscode/settings.json

This file was deleted.

6 changes: 3 additions & 3 deletions client/syntaxes/vba.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@
"repository": {
"onErrorStatement": {
"name": "meta.onErrorStatement.vba",
"match": "(?i)\\b(on\\s+error)\\s+(?:(resume\\s+next)|(goto)\\s+([a-z0-9]+))",
"match": "(?i)\\b(on\\s+error)\\s+(?:(resume\\s+next)|(goto)\\s+([a-z0-9_]+))",
"captures": {
"1": {
"name": "keyword.control.flow.jump.vba"
Expand Down Expand Up @@ -549,7 +549,7 @@
"include": "#literals"
},
{
"match": "(?i)([a-z][a-z0-9]*)",
"match": "(?i)([a-z][a-z0-9_]*)",
"name": "variable.other.constant.label.vba"
}
]
Expand Down Expand Up @@ -819,7 +819,7 @@
},
"argumentSignatureFromParam": {
"name": "meta.argument-signature.param.vba",
"begin": "(?i)[a-z][a-z0-9]*(\\(\\))?",
"begin": "(?i)[a-z][a-z0-9_]*(\\(\\))?",
"end": "(?=[,):'\\n])",
"beginCaptures": {
"0": {
Expand Down
6 changes: 3 additions & 3 deletions client/syntaxes/vba.tmLanguage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ repository:
repository:
onErrorStatement:
name: meta.onErrorStatement.vba
match: (?i)\b(on\s+error)\s+(?:(resume\s+next)|(goto)\s+([a-z0-9]+))
match: (?i)\b(on\s+error)\s+(?:(resume\s+next)|(goto)\s+([a-z0-9_]+))
captures:
1:
name: keyword.control.flow.jump.vba
Expand Down Expand Up @@ -353,7 +353,7 @@ repository:
patterns:
- include: "#separator"
- include: "#literals"
- match: (?i)([a-z][a-z0-9]*)
- match: (?i)([a-z][a-z0-9_]*)
name: variable.other.constant.label.vba
goToGoSubReturnStatement:
name: meta.goToGoSubReturnStatement.vba
Expand Down Expand Up @@ -512,7 +512,7 @@ repository:

argumentSignatureFromParam:
name: meta.argument-signature.param.vba
begin: (?i)[a-z][a-z0-9]*(\(\))?
begin: (?i)[a-z][a-z0-9_]*(\(\))?
end: (?=[,):'\n])
beginCaptures:
0:
Expand Down
61 changes: 61 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
// // eslint.config.js
// import js from '@eslint/js';
// import ts from '@typescript-eslint/eslint-plugin';
// import parser from '@typescript-eslint/parser';

// export default [
// js.configs.recommended,
// {
// files: ['**/*.ts', '**/*.tsx'],
// languageOptions: {
// parser,
// },
// plugins: {
// '@typescript-eslint': ts,
// },
// rules: {
// semi: ['error', 'always'],
// '@typescript-eslint/no-unused-vars': 'off',
// '@typescript-eslint/no-explicit-any': 'off',
// '@typescript-eslint/explicit-module-boundary-types': 'off',
// '@typescript-eslint/no-non-null-assertion': 'off',
// },
// },
// ];

// eslint.config.js
import js from '@eslint/js';
import tseslint from 'typescript-eslint';
import parser from '@typescript-eslint/parser';

export default [
js.configs.recommended,
...tseslint.configs.recommended,
{
files: ['**/*.ts', '**/*.tsx'],
languageOptions: {
parser,
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
},
rules: {
semi: ['error', 'always'],
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
},
},
{
ignores: [
'node_modules/',
'client/node_modules/',
'client/out/',
'server/node_modules/',
'server/out/',
'server/src/antlr/',
],
},
];
Loading