Skip to content

Commit 2736e2a

Browse files
nkildersrgrunber
authored andcommitted
Fix typos
1 parent db41286 commit 2736e2a

10 files changed

+14
-14
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222

2323
##### Expected Result
2424

25-
##### Additional Informations
25+
##### Additional Information

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ While developing the language server and the extension, you don't need to deploy
172172
- Start the language server via `jdt.ls.socket-stream` launch configuration in VS Code or Eclipse
173173
![Socket Steam in VS Code](images/changelog/SocketSteamInVSCode.png)
174174

175-
- Start the extenion via _Launch Extension - JDTLS Client_ in VS Code
175+
- Start the extension via _Launch Extension - JDTLS Client_ in VS Code
176176
- You can modify `launch.json` to use a different port:
177177
- Modify `JDTLS_CLIENT_PORT` to specify the port VS Code should connect to.
178178

@@ -205,7 +205,7 @@ on ways to sideload or share.
205205
If you encounter a problem and know it is caused by eclipse.jdt.ls, then please open a bug report over [there](https://github.com/eclipse/eclipse.jdt.ls/issues).
206206
In doubt, you can report issues in the [vscode-java issue tracker](https://github.com/redhat-developer/vscode-java/issues).
207207

208-
Try to collect as much informations as you can to describe the issue and help us reproduce the problem. Head over to the [troubleshooting page](https://github.com/redhat-developer/vscode-java/wiki/Troubleshooting#enable-logging) to see how to collect useful logging informations.
208+
Try to collect as much information as you can to describe the issue and help us reproduce the problem. Head over to the [troubleshooting page](https://github.com/redhat-developer/vscode-java/wiki/Troubleshooting#enable-logging) to see how to collect useful logging information.
209209

210210
### Certificate of Origin
211211

USAGE_DATA.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ vscode-java has opt-in telemetry collection, provided by [vscode-redhat-telemetr
2222
* `java.settings.url`, `java.format.settings.url`, `java.quickfix.showAt`, `java.symbols.includeSourceMethodDeclarations`, `java.completion.collapseCompletionItems`, `java.completion.guessMethodArguments`, `java.completion.postfix.enabled`, `java.cleanup.actionsOnSave`, `java.sharedIndexes.enabled`, `java.inlayHints.parameterNames.enabled`, `java.server.launchMode`, `java.autobuild.enabled`, `java.jdt.ls.javac.enabled`
2323
* The extension name and the choice made when a recommendation to install a 3rd party extension is proposed
2424
* The name of Java commands being manually executed, and any resulting errors
25-
* The number of results (eg. 20), whether an error occured (eg. false), engine type (eg. 'ecj', 'dom') and duration (in milliseconds) when code assist is activated
26-
* Whether the language server ran out of memory and the maximum allocated memory at which that occured (eg. 200m)
25+
* The number of results (eg. 20), whether an error occurred (eg. false), engine type (eg. 'ecj', 'dom') and duration (in milliseconds) when code assist is activated
26+
* Whether the language server ran out of memory and the maximum allocated memory at which that occurred (eg. 200m)
2727

2828
## What's included in the general telemetry data
2929

document/_java.learnMoreAboutRefactorings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public void order(String[] books) {
192192
Converts an anonymous class creation to the lambda expression.
193193

194194
### Example
195-
Let's convert the anonymous class `Runnable(){...}` to a lamda expression.
195+
Let's convert the anonymous class `Runnable(){...}` to a lambda expression.
196196
#### Before
197197

198198
```java

document/_java.metadataFilesGeneration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
We use the setting `java.import.generatesMetadataFilesAtProjectRoot` to control where the project metadata files(.project, .classpath, .factorypath, .settings/) will be generated:
44
- `true`: Metadata files will be generated at the project's root.
5-
- `false`: Metadata files will be generated at the workspace storage. To be specifc, the path will be: `<WORKSPACE_STORAGE_PATH>/redhat.java/jdt_ws/.metadata/.plugins/org.eclipse.core.resources/.projects/<PROJECT_NAME>/`.
5+
- `false`: Metadata files will be generated at the workspace storage. To be specific, the path will be: `<WORKSPACE_STORAGE_PATH>/redhat.java/jdt_ws/.metadata/.plugins/org.eclipse.core.resources/.projects/<PROJECT_NAME>/`.
66

77
By default, the setting is set to `false`.
88

src/apiManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class ApiManager {
2424
private serverReadyPromiseResolve: (result: boolean) => void;
2525

2626
public initialize(requirements: RequirementsData, serverMode: ServerMode): void {
27-
// if it's manual import mode, set the server mode to lightwight, so that the
27+
// if it's manual import mode, set the server mode to lightweight, so that the
2828
// project explorer won't spinning until import project is triggered.
2929
if (getJavaConfiguration().get<string>("import.projectSelection") === "manual") {
3030
serverMode = ServerMode.lightWeight;

src/fileEventHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async function handleNewJavaFiles(e: FileCreateEvent) {
5757
}
5858

5959
// See https://github.com/redhat-developer/vscode-java/issues/2939
60-
// The client side listener should avoid inserting duplicated conents
60+
// The client side listener should avoid inserting duplicated contents
6161
// when the file creation event is triggered from a WorkspaceEdit.
6262
// Given that the VS Code API doesn't provide a way to distinguish
6363
// the event source, a workaround is to wait 100ms and let WorkspaceEdit

src/lombokSupport.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ function lombokPath2Version(lombokPath: string): string {
6767
}
6868

6969
function lombokPath2VersionNumber(lombokPath: string): string {
70-
const lombokVersioNumber = lombokPath2Version(lombokPath).split('-')[1];
71-
return lombokVersioNumber;
70+
const lombokVersionNumber = lombokPath2Version(lombokPath).split('-')[1];
71+
return lombokVersionNumber;
7272
}
7373

7474
export function getLombokVersion(): string {
@@ -149,7 +149,7 @@ export async function checkLombokDependency(context: ExtensionContext, projectUr
149149
}
150150
projectLombokPath = currentLombokClasspath;
151151
/* if projectLombokPath is undefined, it means that this project has not imported Lombok.
152-
* We don't need initalize Lombok status bar in this case.
152+
* We don't need initialize Lombok status bar in this case.
153153
*/
154154
if (!isLombokStatusBarInitialized && projectLombokPath) {
155155
if (!isLombokCommandInitialized) {

src/refactoring/changeSignaturePanel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class ChangeSignaturePanel {
2323
private readonly panel: WebviewPanel;
2424
private disposables: Disposable[] = [];
2525

26-
// method matadata
26+
// method metadata
2727
private methodIdentifier: string | undefined;
2828
private methodName: string | undefined;
2929
private modifier: string | undefined;

src/serverTaskPresenter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ async function getPresenterTaskExecution(): Promise<TaskExecution> {
4747
// Fix #1180. When switching to multiroot workspace by "Add Folder to Workspace...", vscode restarts the extension
4848
// host without deactivating the extension. See https://github.com/microsoft/vscode/issues/69335
4949
// This is to clean up the existing task execution and terminal created by previous extension instance because they
50-
// are no longer accessible to the current extension instance afte the restart.
50+
// are no longer accessible to the current extension instance after the restart.
5151
// TODO - As mentioned in https://github.com/microsoft/vscode/issues/69335, vscode will no long restart because of
5252
// workspace changes. We can revisit this issue to see if we can remove the fix.
5353
async function killExistingExecutions() {

0 commit comments

Comments
 (0)