Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Multi-root support, lint support, DocumentSymbol support, and more! #405

Merged
merged 88 commits into from
Feb 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
fb68586
Switch from tslint-microsoft-contrib to tslint-config-standard
wingrunr21 Oct 7, 2018
4a45716
Add a Provider abstract class
wingrunr21 Oct 7, 2018
f0b9e09
Convert providers to inherit from Provider and use static register fu…
wingrunr21 Oct 7, 2018
ad7d9f6
Set esModuleInterop to true
wingrunr21 Oct 7, 2018
5239578
Watch .ruby-version and .rvmrc files in language server client
wingrunr21 Oct 7, 2018
450e6e3
Add execa and default-shell to server
wingrunr21 Oct 7, 2018
231fb4d
Update vscode-languageclient to ^5.1.0
wingrunr21 Oct 9, 2018
672587d
Call client.stop on plugin deactivation
wingrunr21 Oct 9, 2018
105acef
Dependency updates in the server
wingrunr21 Oct 9, 2018
2bed5a8
Import debounce directly since esModuleInterop is now enabled
wingrunr21 Oct 9, 2018
c3f4b3a
Add support for loading workspace Ruby environments per workspace root
wingrunr21 Oct 9, 2018
85be9a4
Add DiagnosticsProvider stub
wingrunr21 Oct 9, 2018
b8effa6
Removed unnecessary tslint:disable
wingrunr21 Oct 9, 2018
821640f
Add a TextDocumentProvider to handle and delegate text document events
wingrunr21 Oct 9, 2018
cd29ac1
Add concept of initialize and initialized provider registration
wingrunr21 Oct 9, 2018
d76e840
Add multi root workspace and configuration support
wingrunr21 Oct 9, 2018
34df452
Remove static register function from Provider
wingrunr21 Oct 9, 2018
3452e45
Bump tree-sitter-ruby to 0.13.11
wingrunr21 Oct 23, 2018
5c76b61
Remove execa and default-shell from server
wingrunr21 Oct 23, 2018
1978aae
Move xmldom typings to @types package
wingrunr21 Oct 27, 2018
e526789
Update tsconfig lib to es2017
wingrunr21 Oct 27, 2018
9e7c61b
Add generic SettingCache for caching configuration and environments
wingrunr21 Oct 31, 2018
2106807
Remove ServerConfiguration as the SettingsCache replaced it
wingrunr21 Oct 31, 2018
84f64b2
Add client support for WorkspaceRubyEnvironment requests
wingrunr21 Oct 31, 2018
ed39448
Remove deprecated configurationSection from synchronize options
wingrunr21 Oct 31, 2018
84b15a3
Client dependency updates
wingrunr21 Oct 31, 2018
7d4cba7
Add execa back to the server
wingrunr21 Oct 31, 2018
7aedf6a
Add RUBOCOP_OPTS to RubyEnvironment
wingrunr21 Nov 3, 2018
62f9f46
Bump minimum tree-sitter to v0.13.22
wingrunr21 Nov 15, 2018
6ef0a3f
Add a super simple stack
wingrunr21 Nov 15, 2018
70ab280
Implement RubyDocumentSymbol factory
wingrunr21 Nov 15, 2018
ac71450
Move Position to util directory. Add some equality methods.
wingrunr21 Nov 15, 2018
f123c3e
Implement new linter support
wingrunr21 Nov 15, 2018
ba7d710
Add rxjs
wingrunr21 Nov 15, 2018
bea49d5
Add @types/execa
wingrunr21 Nov 15, 2018
2aa8e9e
Add DocumentManager which emits an rxjs event stream on doc changes
wingrunr21 Nov 15, 2018
a732805
Replace server env detection with workspace/rubyEnvironment requests
wingrunr21 Nov 15, 2018
95e290e
Wire up the new DocumentManager
wingrunr21 Nov 15, 2018
31b7622
Wire forest to listen to the document manager
wingrunr21 Nov 15, 2018
3564b9e
Implement the DocumentSymbolProvider
wingrunr21 Nov 15, 2018
351b4d6
Don't pass forest into every provider
wingrunr21 Nov 15, 2018
544be45
Add base linter which emits diagnostics on document events
wingrunr21 Nov 15, 2018
e7fd586
Hook up the Linter events to send diagnostics
wingrunr21 Nov 15, 2018
58d7eaf
Remove TextDocumentProvider as the DocumentManager does this now
wingrunr21 Nov 15, 2018
68b2b6b
Set up config fetcher for the documentConfigurationCache
wingrunr21 Nov 15, 2018
b82d390
Change WorkspaceProvider to load the ruby environment on changes
wingrunr21 Nov 15, 2018
fc5dd83
Remove DiagnosticsProvider as the Analyzer will do this stuff
wingrunr21 Nov 15, 2018
9b695fa
Remove ASTProvider as DocumentManager streams to the Forest now
wingrunr21 Nov 15, 2018
c55aaca
Add BaseAnalyzer abstract class
wingrunr21 Nov 15, 2018
54363d5
Add FoldingRangeAnalyzer
wingrunr21 Nov 15, 2018
c692f7f
Add DocumentHighlightAnalyzer
wingrunr21 Nov 15, 2018
b41400c
Add DocumentSymbolAnalyzer
wingrunr21 Nov 15, 2018
0a0e79b
Add Analyzer that will take the Forest stream and run analyzers over it
wingrunr21 Nov 15, 2018
43d151f
Declare document symbol support
wingrunr21 Nov 15, 2018
8681ff9
Have FoldingRangeProvider use the last analysis
wingrunr21 Nov 15, 2018
39847b4
Have the DocumentHighlightProvider use DocumentHighlightAnalyzer
wingrunr21 Nov 15, 2018
8e25ab1
Add util/index.ts for convenience
wingrunr21 Nov 15, 2018
edb5ec3
Update ConfigurationProvider to flush the documentConfigurationCache
wingrunr21 Nov 15, 2018
541e978
Handle unhandled promise rejects to keep the server from dying
wingrunr21 Nov 15, 2018
7c2d886
Remove diagnostics when a document is closed
wingrunr21 Nov 15, 2018
e1a584e
Handle tree deletion events in Analyzer
wingrunr21 Nov 15, 2018
b2ef9b2
Remove document symbol console.log statement
wingrunr21 Nov 15, 2018
acca33f
Don't bring down the whole process on an unhandled SIGPIPE
wingrunr21 Feb 13, 2019
e5ce6c2
Add support for Standard
wingrunr21 Feb 13, 2019
cc3f3df
Switch to spawn-rx from execa
wingrunr21 Feb 13, 2019
8f82a8f
Change log output channel name to "Ruby Language Server"
wingrunr21 Feb 16, 2019
e377ecb
Add client configuration middleware that resolves config paths
wingrunr21 Feb 16, 2019
cc10dc6
Use a ternary vs iif in lint function
wingrunr21 Feb 16, 2019
7a0b1d2
Add Standard support to linter
wingrunr21 Feb 16, 2019
b8e36f9
Register output channel earlier in the extension so we don't miss logs
wingrunr21 Feb 16, 2019
a3e71f8
Move legacy linter registration outside the language server setup
wingrunr21 Feb 16, 2019
f8b12ca
Add diff-match-patch to server deps
wingrunr21 Feb 17, 2019
da5abf1
Update standard linter to use the standardrb command
wingrunr21 Feb 18, 2019
edbb610
Set a Diagnostic code on linter results
wingrunr21 Feb 18, 2019
6859c92
Rename RubyLintConfiguration to RubyCommandConfiguration
wingrunr21 Feb 18, 2019
b5a843f
Print better errors when invalid linter results are received
wingrunr21 Feb 18, 2019
fc7ce59
Add document formatting support
wingrunr21 Feb 18, 2019
17ee3cc
Add support for Range formatting
wingrunr21 Feb 18, 2019
f89f1dc
Remove resultSelector in Formatter
wingrunr21 Feb 18, 2019
37e0e76
Pass -x to rufo
wingrunr21 Feb 18, 2019
7f48a6f
Rework BaseFormatter error handling a bit
wingrunr21 Feb 18, 2019
9b53403
Merge branch 'master' into multi_root_and_linters
wingrunr21 Feb 18, 2019
f20f262
Update package*.json after merge
wingrunr21 Feb 18, 2019
5b09b0d
Add standard config. Add resource scoping to config objects
wingrunr21 Feb 18, 2019
740a1e2
Move vscode to devDependencies
wingrunr21 Feb 18, 2019
1d5637b
Upgrade vscode to ^1.1.29
wingrunr21 Feb 18, 2019
e38cc8b
Bump package-lock.json to v0.22.0
wingrunr21 Feb 18, 2019
9e1f537
Add ruby 2.6 to build matrix
wingrunr21 Feb 18, 2019
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
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ rvm:
- 2.3
- 2.4
- 2.5
- 2.6

before_install:
- gem install ruby-debug-ide
Expand Down
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ environment:
- ruby_version: "24-x64"
- ruby_version: "25"
- ruby_version: "25-x64"
- ruby_version: "26"
- ruby_version: "26-x64"
Loading