Skip to content

Commit

Permalink
Merge branch 'main' into feat/diag-annotations
Browse files Browse the repository at this point in the history
* main: (30 commits)
  Make Document Symbols behavior more consistent with built-in Goto Symbol (#2166)
  docs: fsautocomplete config - remove redundant argument (#2165)
  Allow missing window/workDoneProgress/create request from the server (#2159)
  Use "plaintext" language ID for plain text files (#2164)
  Improve type annotations (#2162)
  Don't use "escapeall" extension when formatting with mdpopups (#2163)
  Cut 1.21.0
  Fix inlay hint parts wrapping into multiple lines (#2153)
  Ensure commands triggered from minihtml run on correct view (#2154)
  Add "Source Action" entry to the "Edit" main menu (#2149)
  Add "Refactor" entry to the "Edit" main menu (#2141)
  fix completion documentation being parsed as markdown twice (#2146)
  when going to definition scroll to start of the region, not end (#2147)
  Auto-restart on server crashing, up to 5 times (#2145)
  improve performance of completion & signature request on typing (#2148)
  fix code lenses not updating after Undo (#2139)
  docs: fix mixed indentation in language servers configuration
  add missing Goto commands to Command Palette (#2140)
  docs: add missing keyboard shortcuts (#2143)
  Pass force_group to LocationPicker (#2134)
  ...
  • Loading branch information
rchl committed Jan 16, 2023
2 parents a945978 + 01ca49e commit 18803eb
Show file tree
Hide file tree
Showing 48 changed files with 1,130 additions and 795 deletions.
10 changes: 10 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,13 @@ Before you submit your pull request, please review the following:

I will try to help you get the PR in mergeable shape within a reasonable time, but it may take a few days.
It is best if you check your GitHub notifications in the meantime!

## Releasing a new version (for maintainers)

* Get a log of commits since the previously released tag with `git log --format="- format:%s (%an)" <previous_tag>..main`
* Filter out non-relevant and non-important commits (it's not relevant to report fixes for bugs that weren't released yet, for example)
* Optionally group changes into Fixes/Features/etc.
* Create a new file in `messages/` with a file name of the yet-to-be-released version and include the changes.
* Run `./scripts/release.py build` which will bump the version and create a new commit with a new messages file included.
* If something doesn't look right in the newly created commit, delete the newly created tag manually and git reset to the previous commit making sure that you don't lose the newly created messages file.
* Run `GITHUB_TOKEN=<your_token> ./scripts/release.py publish` to push and create a new Github release.
7 changes: 1 addition & 6 deletions Context.sublime-menu
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,7 @@
"caption": "Source Action…"
},
{
"command": "lsp_format_document",
"caption": "Format File"
},
{
"command": "lsp_format_document_range",
"caption": "Format Selection"
"command": "lsp_format"
},
{
"command": "lsp_expand_selection",
Expand Down
40 changes: 26 additions & 14 deletions Default.sublime-commands
Original file line number Diff line number Diff line change
Expand Up @@ -70,28 +70,48 @@
"command": "lsp_restart_server",
},
{
"caption": "LSP: Goto Symbol",
"caption": "LSP: Goto Symbol",
"command": "lsp_document_symbols",
},
{
"caption": "LSP: Goto Implementation",
"command": "lsp_symbol_implementation",
"caption": "LSP: Goto Symbol In Project…",
"command": "lsp_workspace_symbols"
},
{
"caption": "LSP: Goto Definition…",
"command": "lsp_symbol_definition"
},
{
"caption": "LSP: Goto Type Definition…",
"command": "lsp_symbol_type_definition"
},
{
"caption": "LSP: Goto Declaration",
"caption": "LSP: Goto Declaration",
"command": "lsp_symbol_declaration",
},
{
"caption": "LSP: Goto Diagnostic",
"caption": "LSP: Goto Implementation…",
"command": "lsp_symbol_implementation",
},
{
"caption": "LSP: Goto Diagnostic…",
"command": "lsp_goto_diagnostic",
"args": {
"uri": "$view_uri"
}
},
{
"caption": "LSP: Goto Diagnostic in Project",
"caption": "LSP: Goto Diagnostic in Project",
"command": "lsp_goto_diagnostic"
},
{
"caption": "LSP: Find References",
"command": "lsp_symbol_references"
},
{
"caption": "LSP: Follow Link",
"command": "lsp_open_link"
},
{
"caption": "LSP: Toggle Log Panel",
"command": "lsp_toggle_server_panel",
Expand All @@ -100,10 +120,6 @@
"caption": "LSP: Toggle Diagnostics Panel",
"command": "lsp_show_diagnostics_panel"
},
{
"caption": "LSP: Goto Symbol In Project",
"command": "lsp_workspace_symbols"
},
{
"caption": "LSP: Rename",
"command": "lsp_symbol_rename"
Expand Down Expand Up @@ -134,8 +150,4 @@
"caption": "LSP: Run Code Lens",
"command": "lsp_code_lens"
},
{
"caption": "LSP: Find References",
"command": "lsp_symbol_references"
}
]
Loading

0 comments on commit 18803eb

Please sign in to comment.