Skip to content

feat: prepare extension for release#1

Merged
jossephus merged 10 commits intomainfrom
feat/prepare-sublime-release
Feb 3, 2026
Merged

feat: prepare extension for release#1
jossephus merged 10 commits intomainfrom
feat/prepare-sublime-release

Conversation

@jossephus
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Member

@rchl rchl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's good to also add a sublime-package.json which provides settings validation and completion (including in project files). Some existing example: https://github.com/sublimelsp/LSP-yaml/blob/master/sublime-package.json

Comment on lines +105 to +112
@classmethod
def needs_update_or_installation(cls) -> bool:
if get_binary_path().exists():
return False
if shutil.which("wren-lsp"):
return False
return True

Copy link
Copy Markdown
Member

@rchl rchl Feb 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of the servers opt to specify version of the server in code and bring server updates through package updates (renovate bot takes care of creating PRs to update server).

This is especially relevant for servers that have settings to synchronize them with the current version of the server. This server doesn't seem have settings so maybe that argument is moot but did you consider that approach anyway?

I see that with current code the server will not be updated on its own unless user explicitly does that through custom command.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The lsp is in beta phase right now with frequent updates. I opted for this approach so users can easily install the latest LSP version via a simple command, rather than releasing a new extension update every time there's new LSP release. I will definitely change the behaviour once we are in stable mode.

@jossephus jossephus force-pushed the feat/prepare-sublime-release branch from 1904d10 to c045034 Compare February 3, 2026 11:56
@jossephus
Copy link
Copy Markdown
Collaborator Author

@rchl Thanks for your detailed review.
I have tried to address all issues. check it out please.

@jossephus jossephus merged commit d00b09f into main Feb 3, 2026
@jossephus jossephus deleted the feat/prepare-sublime-release branch February 3, 2026 18:29
@rchl
Copy link
Copy Markdown
Member

rchl commented Feb 3, 2026

Actually should also have sublime-commands file with command to open preferences. All LSP packages include that - https://github.com/sublimelsp/LSP-vue/blob/master/LSP-vue.sublime-commands

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants