Skip to content

Commit

Permalink
Merge branch 'redhat-developer:main' into lsp_completion_sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
SCWells72 authored Dec 16, 2024
2 parents c115402 + 926caf2 commit 8f2a3df
Show file tree
Hide file tree
Showing 7 changed files with 2,500 additions and 87 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pluginName=LSP4IJ
pluginRepositoryUrl=https://github.com/redhat-developer/lsp4ij
# SemVer format -> https://semver.org
# NO SPACES AROUND THE EQUALS SIGN!!
pluginVersion=0.9.0-SNAPSHOT
pluginVersion=0.9.1-SNAPSHOT
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild=232
#pluginUntilBuild=233.*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ private static GeneralClientCapabilities getGeneralClientCapabilities() {
// See https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#didChangeConfigurationClientCapabilities
workspaceClientCapabilities.setDidChangeConfiguration(new DidChangeConfigurationCapabilities(Boolean.TRUE));

// Refresh support for CodeLens
workspaceClientCapabilities.setCodeLens(new CodeLensWorkspaceCapabilities(Boolean.TRUE));

// Refresh support for InlayHint
workspaceClientCapabilities.setInlayHint(new InlayHintWorkspaceCapabilities(Boolean.TRUE));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,8 @@ public ComboBox<ErrorReportingKind> getErrorReportingKindCombo() {

@Override
public void dispose() {
getConfiguration().resetJsonSchema();
if (configurationWidget != null) {
configurationWidget.resetJsonSchema();
}
}
}
12 changes: 12 additions & 0 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@
<vendor email="developers@redhat.com" url="https://github.com/redhat-developer/lsp4ij/issues">Red-Hat</vendor>

<change-notes><![CDATA[
<h3>0.9.0</h3>
<ul>
<li>Support for <a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/LSPSupport.md#selection-range">Selection Range</a></li>
<li>Use standard menu Implementation(s) (Ctrl+Alt+B) to execute <a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/LSPSupport.md#implementation">Implementation</a></li>
<li>Use standard menu Type Declaration (Ctrl+Shift+B) to execute <a href="https://github.com/redhat-developer/lsp4ij/blob/main/docs/LSPSupport.md#type-definition">Type definition</a></li>
<li>LSP code folding improvements for braced blocks and code block provider implementation based on that same information</li>
<li>Show workspace symbols with Class, Struct, Type kind in the standard Class tab (Ctrl+N)</li>
<li>Provide completion, validation, etc for configuring user-defined language servers based on JSON Schema</li>
<li>Fixing bugs</li>
</ul>
Learn more in the <a href="https://github.com/redhat-developer/lsp4ij/milestone/10?closed=1">changelog</a>.
L
<h3>0.8.1</h3>
<ul>
<li>Remove using internal API ProjectIndexingActivityHistoryListener</li>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,84 +1 @@
{
"imports": {
"granularity": {
"group": "module"
},
"prefix": "self"
},
"cargo": {
"buildScripts": {
"enable": true
}
},
"completion": {
"autoimport": {
"enable": true
},
"autoself": {
"enable": true
},
"callable": {
"snippets": "fill_arguments"
},
"fullFunctionSignatures": {
"enable": false
},
"limit": null,
"postfix": {
"enable": true
},
"privateEditable": {
"enable": false
},
"snippets": {
"custom": {
"Arc::new": {
"postfix": "arc",
"body": "Arc::new(${receiver})",
"requires": "std::sync::Arc",
"description": "Put the expression into an `Arc`",
"scope": "expr"
},
"Rc::new": {
"postfix": "rc",
"body": "Rc::new(${receiver})",
"requires": "std::rc::Rc",
"description": "Put the expression into an `Rc`",
"scope": "expr"
},
"Box::pin": {
"postfix": "pinbox",
"body": "Box::pin(${receiver})",
"requires": "std::boxed::Box",
"description": "Put the expression into a pinned `Box`",
"scope": "expr"
},
"Ok": {
"postfix": "ok",
"body": "Ok(${receiver})",
"description": "Wrap the expression in a `Result::Ok`",
"scope": "expr"
},
"Err": {
"postfix": "err",
"body": "Err(${receiver})",
"description": "Wrap the expression in a `Result::Err`",
"scope": "expr"
},
"Some": {
"postfix": "some",
"body": "Some(${receiver})",
"description": "Wrap the expression in an `Option::Some`",
"scope": "expr"
}
}
}
},
"termSearch": {
"enable": false,
"fuel": 200
},
"procMacro": {
"enable": true
}
}
{}
Loading

0 comments on commit 8f2a3df

Please sign in to comment.