-
Notifications
You must be signed in to change notification settings - Fork 125
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
[Tapioca add-on] Add ServerAddon
boilerplate
#2035
[Tapioca add-on] Add ServerAddon
boilerplate
#2035
Conversation
ServerAddon
boilerplate
d2aba8c
to
f8e9851
Compare
@@ -45,6 +45,8 @@ Sorbet/TrueSigil: | |||
Include: | |||
- "**/*.rb" | |||
- "**/*.rake" | |||
Exclude: | |||
- "lib/ruby_lsp/tapioca/server_addon.rb" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Following the discussion on Shopify/ruby-lsp-rails#469 (comment). I'd like to somehow ensure sigs don't get added to the file in the future.
f8e9851
to
a47db64
Compare
a47db64
to
0935d45
Compare
@@ -62,6 +61,9 @@ def version | |||
|
|||
sig { params(changes: T::Array[{ uri: String, type: Integer }]).void } | |||
def workspace_did_change_watched_files(changes) | |||
return unless T.must(@global_state).experimental_features | |||
return unless @rails_runner_client # Client is not ready |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I personally prefer multiple unless
calls over combining them and thinking of De Morgan's Laws 😬
Motivation
Add ServerAddon usage to be called by Rails app based on main...andyw8/tapioca-lsp
Implementation
Tests