Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language Server Rewrite #993

Open
wants to merge 131 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
0f2a336
Create ProjectManager
TwitchBronBron Dec 21, 2023
eddf081
100% coverage on current ProjectManager
TwitchBronBron Dec 22, 2023
2352f36
Significant refactors. Added worker project support (it's broke!)
TwitchBronBron Dec 22, 2023
2b727ff
Fix workerThreadProject tests
TwitchBronBron Dec 23, 2023
29bb2df
Fixing lots of broken tests
TwitchBronBron Dec 24, 2023
0e7a1f1
Fix some WorkerPool tests
TwitchBronBron Dec 24, 2023
11b6c58
Some language server structure tweaks
TwitchBronBron Dec 24, 2023
99d472d
dynamically register on* lsp handlers.
TwitchBronBron Dec 25, 2023
fc2b7b2
Add semantic token support
TwitchBronBron Dec 26, 2023
47bc3de
Flush diagnostics on a per-project basis
TwitchBronBron Jan 2, 2024
7295d48
Only spin up worker when tests require it
TwitchBronBron Jan 2, 2024
939d722
semantic tokens race for first project
TwitchBronBron Jan 2, 2024
76fd82f
Fix diagnostic event flow
TwitchBronBron Jan 2, 2024
d50d700
Add basic file change throttling on a per-project basis.
TwitchBronBron Jan 9, 2024
101b98c
Run program.validate() in async chunks to not starve CPU.
TwitchBronBron Jan 11, 2024
11dd7fe
Better handling of worker thread errors
TwitchBronBron Jan 11, 2024
be16e9e
Better time tracking for cancelling validations.
TwitchBronBron Jan 11, 2024
7d72c48
Prevent crashing worker thread project
TwitchBronBron Jan 11, 2024
059c67e
Support cancelling validation in the worker thread
TwitchBronBron Jan 13, 2024
083accf
Apply all file changes in single chunk
TwitchBronBron Jan 13, 2024
e4aea1b
Speed up semantic tokens performance
TwitchBronBron Jan 14, 2024
49eb6e2
Fix semantic tokens in worker project.
TwitchBronBron Jan 15, 2024
e6f317e
Add baseline transpile preview support
TwitchBronBron Jan 15, 2024
86e8f51
Fix performance issues for transpile preview
TwitchBronBron Jan 17, 2024
21e8e76
Add util.promiseRaceMatch
TwitchBronBron Mar 18, 2024
8d3c7c0
Add `hover` support
TwitchBronBron Mar 18, 2024
a5df7b9
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Mar 18, 2024
3afd014
fix crash
TwitchBronBron Mar 18, 2024
8369717
Add getDefinition, and fix a few case-sensitive quirks
TwitchBronBron Mar 19, 2024
7d04deb
Fix the busy status spinner
TwitchBronBron Mar 19, 2024
4f79645
Add signature help
TwitchBronBron Mar 19, 2024
a871045
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Mar 19, 2024
6ca9d1e
Added support for documentSymbol
TwitchBronBron Mar 19, 2024
533c0cd
Defer lsp requests until the project manager is ready
TwitchBronBron Mar 19, 2024
f231048
Add workspaceSymbol support
TwitchBronBron Mar 19, 2024
cfb8fcb
Add onReferences support
TwitchBronBron Mar 19, 2024
cb507a2
Convert all Project method params to options objects
TwitchBronBron Mar 19, 2024
2ba4601
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Mar 22, 2024
b70a027
Fix a few issues
TwitchBronBron Mar 22, 2024
5eab896
Add codeActions support
TwitchBronBron Mar 22, 2024
648636f
Add completions
TwitchBronBron Mar 22, 2024
9892c69
Reload server when the user changes workspace settings
TwitchBronBron Mar 22, 2024
812b989
Fix bug where only the first file change would be applied in each batch
TwitchBronBron Mar 24, 2024
4d64647
Implement onDidChangeWatchedFiles
TwitchBronBron Mar 24, 2024
d47834b
Handle onDidChangeWatchedFiles directory deletions
TwitchBronBron Mar 24, 2024
727f9aa
Reload project when bsconfig changes.
TwitchBronBron Mar 25, 2024
9bf41b3
Remove document file resolver (we handle that a different way now)
TwitchBronBron Mar 25, 2024
3226d79
Skip updating changed files if their contents haven't changed
TwitchBronBron Mar 25, 2024
629f52a
First try at implementing standalone workspaces (broken)
TwitchBronBron Mar 26, 2024
f011561
Fix tsc, eslint, and test issues.
TwitchBronBron Mar 26, 2024
6a89f02
Only return results if project actually has the file
TwitchBronBron Mar 26, 2024
c5a462b
Wait for document changes to settle
TwitchBronBron Mar 26, 2024
800c83e
Rename `threadingEnabled` to `enableThreading`
TwitchBronBron Mar 26, 2024
f9d1f52
Try to fix the lsp vsix builds
TwitchBronBron Mar 26, 2024
8749545
Fix tsc error
TwitchBronBron Mar 26, 2024
5c8998c
Bump to node16 so we can use ts-node in unit tests
TwitchBronBron Mar 26, 2024
6155a39
Fix incorrectly overridden files array
TwitchBronBron Mar 26, 2024
5ae5cf5
Rename `applyDocumentChanges` to `flushDocumentChanges`
TwitchBronBron Mar 27, 2024
a2e55cf
Fix issue with quick add/delete files causing exceptions
TwitchBronBron Mar 27, 2024
b3174ec
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Mar 28, 2024
6aa7398
Support opening and closing standalone file workspaces
TwitchBronBron Mar 28, 2024
53b5d48
Fix LanguageServer tests
TwitchBronBron Apr 2, 2024
fd221cd
Support file filtering in the project manager
TwitchBronBron Apr 2, 2024
82d5bc5
Add tests
TwitchBronBron Apr 2, 2024
2540da7
Filter excluded files, but keep them if project includes them
TwitchBronBron Apr 2, 2024
9363c7d
Fix some busy status tracking
TwitchBronBron Apr 2, 2024
de61e33
Move file loading into the projects
TwitchBronBron Apr 3, 2024
6a808b3
Only send applicable files to each project
TwitchBronBron Apr 3, 2024
c177dc4
Prevent making standalone projects when unnecessary
TwitchBronBron Apr 3, 2024
ff967e7
Improve completion performance
TwitchBronBron Apr 3, 2024
c60d75a
Prevent making standalone projects in wrong situations
TwitchBronBron Apr 4, 2024
eb0ac55
track validations
TwitchBronBron Apr 4, 2024
76ec222
Tweaks
TwitchBronBron Apr 4, 2024
aecdb64
Better busy status tracking during validation
TwitchBronBron Apr 5, 2024
bac0ae9
Try to include source scope in completions when applicable
TwitchBronBron Apr 5, 2024
d455cf7
Fix hover crash
TwitchBronBron Apr 5, 2024
ef8b23d
Fix completions crash
TwitchBronBron Apr 5, 2024
2510a15
Remove empty test
TwitchBronBron Apr 11, 2024
e41465f
Fix out-of-sync diagnostics
TwitchBronBron Apr 17, 2024
bc54de4
Added some additional logging
TwitchBronBron Apr 17, 2024
57c65ba
Merge branch 'lsp-refactor' of https://github.com/rokucommunity/brigh…
TwitchBronBron Apr 17, 2024
f2c3e1b
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Apr 22, 2024
52554f8
Fix test failures.
TwitchBronBron Apr 23, 2024
9bf7d15
@rokucommunity/[email protected]
TwitchBronBron Apr 23, 2024
e8947b7
Share logger between lsp and ProjectManager
TwitchBronBron Apr 23, 2024
b565e9e
Add @Trace() annotation for fine-grained logging
TwitchBronBron Apr 23, 2024
6d237d6
Add loggers to many lsp classes
TwitchBronBron Apr 24, 2024
a24c074
Improve logLevel sync for lsp
TwitchBronBron Apr 24, 2024
1b19acb
Disable colors for WorkerThread projects
TwitchBronBron Apr 24, 2024
ba2302a
Improved logging
TwitchBronBron Apr 25, 2024
dbf559c
Cache projectId so the numbers don't change as frequently
TwitchBronBron Apr 25, 2024
304b64e
latest RokuCommunity logger
TwitchBronBron Apr 25, 2024
f5730b4
Add lots more logging
TwitchBronBron Apr 25, 2024
872527a
Fix failing test
TwitchBronBron Apr 25, 2024
fe894b5
Fix bug with `import { type Logger }`
TwitchBronBron Apr 25, 2024
4512c0f
Some better logging
TwitchBronBron Apr 25, 2024
5d5900c
Delete junk file
TwitchBronBron May 28, 2024
5504af2
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron May 28, 2024
71b4944
Merge branch 'master' into lsp-refactor
TwitchBronBron May 28, 2024
64cadf8
Add some unit tests
TwitchBronBron May 28, 2024
10b5ff5
Merge branch 'lsp-refactor' of https://github.com/rokucommunity/brigh…
TwitchBronBron May 28, 2024
1084057
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Jun 4, 2024
77b78cc
Fix failing CI
TwitchBronBron Jun 4, 2024
2bb939f
Fix ci again
TwitchBronBron Jun 4, 2024
76a9ba3
Upgrade `thenby` to a prod dependency
TwitchBronBron Jun 6, 2024
e1d3075
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Jun 6, 2024
39fada2
Add `ActionQueue` class
TwitchBronBron Jun 11, 2024
0aa2faa
Add `ActionManager.onIdle()`
TwitchBronBron Jun 12, 2024
32c5865
Add tests
TwitchBronBron Jun 12, 2024
94de4c2
Add fixes
TwitchBronBron Jun 12, 2024
d75bac1
Fix lint issues
TwitchBronBron Jun 12, 2024
15c7d15
Fix broken tests
TwitchBronBron Jun 13, 2024
963bcf0
Finally fixed the completions bug
TwitchBronBron Jun 13, 2024
707a5ec
Fix crash when no project handles a file action
TwitchBronBron Jul 3, 2024
46538e5
Prevent runtime exceptions in lsp a few places.
TwitchBronBron Jul 3, 2024
4a6b4a7
Fix some potential after-dispose crashes
TwitchBronBron Jul 8, 2024
db46e59
Fix lexer crash when given undefined
TwitchBronBron Jul 9, 2024
0774d28
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Jul 9, 2024
3f37939
honor `showDiagnosticsInConsole` in lsp mode
TwitchBronBron Jul 17, 2024
e5a589f
remove rogue `console.info`
TwitchBronBron Jul 17, 2024
c03ace4
Fix standalone project issues (#1254)
TwitchBronBron Jul 22, 2024
4c24a48
Merge branch 'lsp-refactor' of https://github.com/rokucommunity/brigh…
TwitchBronBron Jul 23, 2024
7b43937
Remove too-verbose logging
TwitchBronBron Jul 29, 2024
82265bc
Fix issues with logging.
TwitchBronBron Jul 29, 2024
47ea906
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Jul 29, 2024
539656e
Merge branch 'master' into lsp-refactor
TwitchBronBron Aug 6, 2024
d763dbe
Merge branch 'master' into lsp-refactor
TwitchBronBron Aug 21, 2024
373852d
Merge branch 'master' into lsp-refactor
TwitchBronBron Sep 23, 2024
668032f
Merge branch 'master' into lsp-refactor
TwitchBronBron Sep 27, 2024
7a9e932
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Sep 27, 2024
8a20243
Merge branch 'lsp-refactor' of https://github.com/rokucommunity/brigh…
TwitchBronBron Sep 27, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: "14.18.1"
node-version: "16.20.2"
architecture: 'x64' # fix for macos-latest
- run: npm ci
- run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: "14.19.0"
node-version: "16.20.2"
# Get a bot token so the bot's name shows up on all our actions
- name: Get Token From roku-ci-token Application
uses: tibdex/github-app-token@v1
Expand Down
Loading
Loading