Skip to content

Commit

Permalink
Various typos fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
smklimenko committed Sep 17, 2024
1 parent 9307e62 commit 9599018
Show file tree
Hide file tree
Showing 9 changed files with 103 additions and 94 deletions.
174 changes: 94 additions & 80 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/java/kx/KxConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public KxConnection(String host, int port, boolean async, boolean tls, boolean z
this.msgType = async ? 0 : 1;
this.encoding = encoding != null ? encoding : "UTF-8";

// We have to split the original constructor into socket creating and authentification to be able to cancel
// We have to split the original constructor into socket creating and authentication to be able to cancel
// authentication - it could take too long if the instance is busy.
s = new Socket(host.isBlank() ? "localhost" : host, port);
if (tls) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ default String getVersion() {
}

/**
* Short description of the provider that shown in the plugins configuration panel as well as in Scopy/Instance
* Short description of the provider that shown in the plugins configuration panel as well as in Scope/Instance
* configuration if the provider is chosen.
*
* @return the description
Expand Down Expand Up @@ -94,7 +94,7 @@ default String resolveCredentials(String credentials) throws CredentialsResolvin
* <p>
* This method can query external systems to get new authentication token.
* <p>
* Result of the method must in KDB {@code username:password} format as it's defined in your KDB instnace.
* Result of the method must in KDB {@code username:password} format as it's defined in your KDB instance.
*
* @param host original instance hostname that the credentials should be issue for
* @param port original instance port that the credentials should be issue for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public boolean isSuitableSdkType(SdkTypeId sdkType) {

@Override
public String getDescription() {
return "Module for Q language sources. Add your root folders as content enties to be able to search and complete your code.";
return "Module for Q language sources. Add your root folders as content entries to be able to search and complete your code.";
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,10 @@ public class ImportConverter extends BaseElementAtCaretIntentionAction implement

@Override
public void invoke(@NotNull Project project, @NotNull Editor editor, @NotNull PsiElement element) throws IncorrectOperationException {
System.out.println("Invoke");
}

@Override
public boolean isAvailable(@NotNull Project project, @NotNull Editor editor, @NotNull PsiElement element) {
if (element.getParent() instanceof QImport qImport) {
System.out.println("asdasd");
return true;
}
return false;
return element.getParent() instanceof QImport;
}
}
2 changes: 1 addition & 1 deletion src/main/java/org/kdb/inside/brains/psi/QPsiUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static String getLambdaDescriptor(String name, QLambdaExpr lambda) {
* Checks is the specified element colon or not.
*
* @param el the element to be checked
* @return <code>true</code> if the elemtn is colon; <code>false</code> - otherwise.
* @return <code>true</code> if the element is colon; <code>false</code> - otherwise.
*/
public static boolean isColon(PsiElement el) {
return isLeafText(el, ":");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public TabsTableResult(Project project, Disposable parent) {
this.project = project;

tabs = (JBTabsEx) JBTabsFactory.createTabs(project, this);
// We can't use Supplier here as it's been Getter before and some versions are not compatiable anymore.
// We can't use Supplier here as it's been Getter before and some versions are not compatible anymore.
tabs.setPopupGroup(this::createTabsPopup, "KdbConsoleTabsMenu", true);

renameAction = new RenameTabAction();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protected File getExportConfig(Project project, ExportDataProvider dataProvider)
final VirtualFileWrapper vfw = saveFileDialog.save(dataProvider.getExportName());
return vfw == null ? null : vfw.getFile();
} else {
return File.createTempFile("kdbinsidebrains_exel_export_", ".xlsx");
return File.createTempFile("kdbinsidebrains_excel_export_", ".xlsx");
}
}

Expand Down
2 changes: 1 addition & 1 deletion version.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pluginVersion=5.9.1
pluginVersion=5.9.2

0 comments on commit 9599018

Please sign in to comment.