Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
8068c5e
Duplicate seti icon theme from VS Code
DecimalTurn Apr 16, 2025
9b77457
Update theme content for VBA-LanguageServer
DecimalTurn Apr 16, 2025
27df41d
Update icons and package.json
DecimalTurn Apr 16, 2025
b0f8a54
Remove vba-lsp icon theme
DecimalTurn Apr 17, 2025
f7b881b
Merge pull request #73 from DecimalTurn/seti-icons
SSlinky Apr 17, 2025
69831e4
Helper function to walk a directory and return a list of files
SSlinky Apr 17, 2025
9df7996
Removed "async" from methods to align with common TS convention
SSlinky Apr 17, 2025
2f9edd0
Inlined property
SSlinky Apr 17, 2025
d5dff10
Added method to Workspace interface
SSlinky Apr 17, 2025
56c9d62
Code actions now properly async
SSlinky Apr 17, 2025
c87d0d1
Removed the concept of an "active" document
SSlinky Apr 17, 2025
67eedb9
Added support for parsing a whole workspace
SSlinky Apr 17, 2025
03f0e13
Only modules declare public members in the project scope
SSlinky Apr 17, 2025
8535208
walk function now returns URIs if passed a URI rather than paths
SSlinky Apr 17, 2025
9bd2b6b
Can now log error stack as warning
SSlinky Apr 22, 2025
4409998
Prevent async related errors on shut down
SSlinky Apr 22, 2025
62e044d
Added error handling and uri conversion to walk function
SSlinky Apr 22, 2025
8770a10
Better way of logging stack traces
SSlinky Apr 22, 2025
014070f
Refactor tests for class and module
SSlinky Apr 22, 2025
6ada07c
Duplicate seti icon theme from VS Code
DecimalTurn Apr 16, 2025
162f599
Update theme content for VBA-LanguageServer
DecimalTurn Apr 16, 2025
63f60cc
Update icons and package.json
DecimalTurn Apr 16, 2025
6610ff1
Remove vba-lsp icon theme
DecimalTurn Apr 17, 2025
9777b88
Helper function to walk a directory and return a list of files
SSlinky Apr 17, 2025
acf097c
Removed "async" from methods to align with common TS convention
SSlinky Apr 17, 2025
a367146
Inlined property
SSlinky Apr 17, 2025
ddfb164
Added method to Workspace interface
SSlinky Apr 17, 2025
6c35f4e
Code actions now properly async
SSlinky Apr 17, 2025
032915d
Removed the concept of an "active" document
SSlinky Apr 17, 2025
ca67906
Added support for parsing a whole workspace
SSlinky Apr 17, 2025
a6ecba2
Only modules declare public members in the project scope
SSlinky Apr 17, 2025
ee3fa45
walk function now returns URIs if passed a URI rather than paths
SSlinky Apr 17, 2025
bedcb26
Can now log error stack as warning
SSlinky Apr 22, 2025
d23300c
Prevent async related errors on shut down
SSlinky Apr 22, 2025
6163de4
Added error handling and uri conversion to walk function
SSlinky Apr 22, 2025
db89709
Better way of logging stack traces
SSlinky Apr 22, 2025
12e4e40
Refactor tests for class and module
SSlinky Apr 22, 2025
2dc0ca0
Improved auto closing pairs
SSlinky Apr 22, 2025
508766d
Placeholder auto indent patterns.
SSlinky Apr 22, 2025
6e78194
Merge branch 'dev' of https://github.com/sslinky/vba-LanguageServer i…
SSlinky Apr 28, 2025
7584e4a
Merge branch 'textMate' into dev
SSlinky Apr 28, 2025
ed9525a
Spelling...
SSlinky Apr 28, 2025
9054e34
Resolve timing conflict reading file first time
SSlinky Apr 28, 2025
de98144
Added uri extension methods
SSlinky Apr 29, 2025
1c9f976
Walk method no longer needs to handle URI conversion
SSlinky Apr 29, 2025
b664850
Adding functionality to scope capability
SSlinky Apr 29, 2025
3e5aa72
Print scope tree on build
SSlinky Apr 29, 2025
a7e5883
Fixed error logging issue
SSlinky Apr 30, 2025
79ffc96
Only show output automatically when debugging
SSlinky Apr 30, 2025
7b13446
Better way of doing IdentifierCapability
SSlinky Apr 30, 2025
5f74d71
Added equality comparer for diagnostics
SSlinky May 1, 2025
dc2e9ae
Added context to variable diagnostics
SSlinky May 1, 2025
24ea8b0
Awaiting never returns
SSlinky May 1, 2025
33358f6
Improved diagnostics related to OptExp
SSlinky May 1, 2025
75bd9db
Removed console logging messages
SSlinky May 1, 2025
573c9e2
Merge branch 'master' into dev
SSlinky May 7, 2025
9e4532a
Allow diagnostic comparison
SSlinky May 8, 2025
2e9a5dc
Scope references now build
SSlinky May 8, 2025
be20672
Simplify scope invalidation
SSlinky May 9, 2025
099c80c
Avoid duplicate diagnostics
SSlinky May 9, 2025
61658a8
Filter duplicate diagnostics
SSlinky May 9, 2025
0fe9f69
Switch to Module from BaseModule to avoid export
SSlinky May 9, 2025
7914864
Added support for rename requests
SSlinky May 14, 2025
6906588
New helper to check if a position is in a range.
SSlinky May 16, 2025
caad013
Refactor antlr extensions
SSlinky May 16, 2025
5d43bff
Extension method deprecated
SSlinky May 16, 2025
1348c8a
Added new context extensions
SSlinky May 17, 2025
11f4107
Removed typeableReservedName
SSlinky May 17, 2025
fbbb32b
Fixed bug causing documents not to send diagnostics on open/close eve…
SSlinky May 21, 2025
1f70b49
Moved OptExp to be a property on scope that inherits
SSlinky May 23, 2025
ddc2d54
Downgraded missing OptExp to hint
SSlinky May 23, 2025
348bba0
Updated unknown attribute diagnostic to Error
SSlinky May 23, 2025
ba02497
Added feature to diagnose unused elements
SSlinky May 23, 2025
11b76d3
Define own tokens
SSlinky May 23, 2025
c8abad0
Updated Launch for project testing
SSlinky May 23, 2025
8461e13
Reimplement scopes and add definitionProvider server capability
SSlinky May 23, 2025
b5abd7f
Fix bug with toFileUri
SSlinky May 25, 2025
33a5a6b
findDeclaration finds by type
SSlinky May 25, 2025
e811563
explicitDeclarations now excludes properties
SSlinky May 25, 2025
178a4ac
Variables now pass their class type if they have one
SSlinky May 25, 2025
39d51ad
Fixed locationUri
SSlinky May 25, 2025
65012d9
Logging for onDefinition
SSlinky May 25, 2025
370c981
Changed how the name stack works
SSlinky May 25, 2025
d526d02
Added ambiguousName diag and fixed link resolution
SSlinky May 25, 2025
4434ad8
Removed unused code and tidied imports
SSlinky May 25, 2025
55ba7dc
Normalised file URIs with double convert
SSlinky May 25, 2025
d0d4d45
Fixed bug in scope invalidation
SSlinky May 25, 2025
bc73650
renameItems now gets all properties of the same name
SSlinky May 25, 2025
e1815d9
Update readme
SSlinky May 25, 2025
ce07076
1.6.0
SSlinky May 25, 2025
f8f0024
1.7.0
SSlinky May 25, 2025
0dc4068
Fixed test expected outcome
SSlinky May 25, 2025
d07b8b4
Fixed diagnostics and tests
SSlinky May 25, 2025
b6585af
Squash folding ranges cancellation bug
SSlinky May 25, 2025
ac7726f
Bug fixed document formatting
SSlinky May 25, 2025
2515178
1.7.1
SSlinky May 25, 2025
0a53f0f
Update node packages
SSlinky May 25, 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
21 changes: 14 additions & 7 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceRoot}",
"${workspaceFolder}/sample"
"${workspaceFolder}/sample/project"
],
"preLaunchTask": {
"type": "npm",
Expand All @@ -33,7 +33,9 @@
"--extensionTestsPath=${workspaceRoot}/dist/client/out/test/index",
"${workspaceRoot}/test/fixtures"
],
"outFiles": ["${workspaceRoot}/dist/client/out/test/**/*.js"]
"outFiles": [
"${workspaceRoot}/dist/client/out/test/**/*.js"
]
},
{
"name": "Run Web Extension in VS Code",
Expand Down Expand Up @@ -84,16 +86,21 @@
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/dist/client/out/test/index"
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/dist/client/out/test/index"
],
"outFiles": ["${workspaceFolder}/dist/client/out/test/**/*.test.js"]
"outFiles": [
"${workspaceFolder}/dist/client/out/test/**/*.test.js"
]
}
],
"compounds": [
{
"name": "Client + Server",
"configurations": ["Launch Client", "Attach to Server"]
"configurations": [
"Launch Client",
"Attach to Server"
]
}
]
}
}
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,23 @@ Provides Visual Basic for Applications (VBA) language support in Visual Studio C

<sup>1</sup>Currently full document `Shift+Alt+F` formatting only.

### *PREVIEW* Definition Provider

This extension now supports definitions, i.e., following a name to a declaration. Pressing F12 will jump you to the relevant method or variable declaration.

This is a preview feature and may not work 100% as expected. If bugs are encountered, please take the time to raise an issue on the repo.

### *PREVIEW* Code Refactoring

This extension now supports Rename requests, i.e., using F2 to rename an element. It will find the all instances of the name throughout the workspace and rename it.

### Preview Limitations

Known limitations:
- Method attributes (yet) aren't renamed when you rename a function or sub.
- Public methods still producing diagnostics when there's a similarly named method in another module.
- Can't yet rename classes with this functionality.

### Web Support

The VBA Pro Extension offers limited support for web environments (e.g. vscode-dev).
Expand Down Expand Up @@ -75,6 +92,7 @@ End Property
## Coming Soon

* Hovers
* Completion

## Installation

Expand Down
Loading