GramEditor/gram
38
985
Fork
You've already forked gram
88

Add an option to disable auto-update for LSP #267

Merged
krig merged 2 commits from bux/gram:feat/disable-auto-update-lsp into main 2026年05月07日 23:55:32 +02:00
Contributor
Copy link

Add an option to disable auto-update when allow download lsp

Add an option to disable auto-update when `allow download lsp`
Owner
Copy link

Awesome, thank you!

Awesome, thank you!
Author
Contributor
Copy link

I'm not sure whether it should be true by default based on:

no automatic installations or updates.

I'm not sure whether it should be `true` by default based on: > no automatic installations or updates.

@bux wrote in #267 (comment):

I'm not sure whether it should be true by default based on:

no automatic installations or updates.

Imo, it should be inverted (enable_auto_updates) and default to false.

@bux wrote in https://codeberg.org/GramEditor/gram/pulls/267#issuecomment-14377667: > I'm not sure whether it should be `true` by default based on: > > > no automatic installations or updates. Imo, it should be inverted (`enable_auto_updates`) and default to `false`.
Owner
Copy link

@ItsHarper wrote in #267 (comment):

@bux wrote in #267 (comment):

I'm not sure whether it should be true by default based on:

no automatic installations or updates.

Imo, it should be inverted (enable_auto_updates) and default to false.

Agreed, that makes sense.

Just thinking out loud here but as a follow-up it would be nice to have a manual "check for updates" button in the language server UI, which could also pop up a dialog showing the current version vs. the latest and the release description if available.

@ItsHarper wrote in https://codeberg.org/GramEditor/gram/pulls/267#issuecomment-14378357: > @bux wrote in #267 (comment): > > > I'm not sure whether it should be `true` by default based on: > > > no automatic installations or updates. > > Imo, it should be inverted (`enable_auto_updates`) and default to `false`. Agreed, that makes sense. Just thinking out loud here but as a follow-up it would be nice to have a manual "check for updates" button in the language server UI, which could also pop up a dialog showing the current version vs. the latest and the release description if available.
Author
Contributor
Copy link

Just thinking out loud here but as a follow-up it would be nice to have a manual "check for updates" button in the language server UI, which could also pop up a dialog showing the current version vs. the latest and the release description if available.

yes, I think these options should be added to the 'Language Server Configuration' window:

  • Allow download (this exists)

  • Enable auto update / Update manually

  • View current version

but I'm sorry, I'm not able to add the UI at the moment

> Just thinking out loud here but as a follow-up it would be nice to have a manual "check for updates" button in the language server UI, which could also pop up a dialog showing the current version vs. the latest and the release description if available. yes, I think these options should be added to the 'Language Server Configuration' window: - Allow download (this exists) - Enable auto update / Update manually - View current version but I'm sorry, I'm not able to add the UI at the moment
Owner
Copy link

Yeah no worries, better to keep this PR focused and think about improving the UI later.

Yeah no worries, better to keep this PR focused and think about improving the UI later.
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
GramEditor/gram!267
Reference in a new issue
GramEditor/gram
No description provided.
Delete branch "bux/gram:feat/disable-auto-update-lsp"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?