Skip to content

Commit

Permalink
Fix incorrect class name for server descriptor logger
Browse files Browse the repository at this point in the history
  • Loading branch information
InSyncWithFoo committed May 11, 2024
1 parent ac6bf02 commit e8bf705
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG_CODE.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ For user-facing changes, see [`CHANGELOG.md`][_-1].
* A new branch is added to [`executablePathResolvingHint()`][40-4]. (906f7abe)
* [Kotlin JVM plugin][40-5] is updated to 1.9.24. (0e28e9ae)
* `RoamingType.LOCAL` is used for [application-level configurations][40-6]
instead of `RoamingType.DISABLED`. (HEAD)
instead of `RoamingType.DISABLED`. (ac6bf02a)


[40-1]: https://github.com/InSyncWithFoo/pyright-langserver-for-pycharm/blob/501b9cea/src/main/kotlin/com/insyncwithfoo/pyrightls/server/PyrightLSDescriptor.kt
[40-2]: https://plugins.gradle.org/plugin/org.jetbrains.qodana
[40-3]: https://github.com/JetBrains/qodana-action
[40-4]: https://github.com/InSyncWithFoo/pyright-for-pycharm/blob/906f7abe/src/main/kotlin/com/insyncwithfoo/pyright/configuration/PathResolvingHint.kt
[40-5]: https://plugins.gradle.org/plugin/org.jetbrains.kotlin.jvm
[40-6]: https://github.com/InSyncWithFoo/pyright-langserver-for-pycharm/blob/HEAD/src/main/kotlin/com/insyncwithfoo/pyrightls/configuration/application/ConfigurationService.kt
[40-6]: https://github.com/InSyncWithFoo/pyright-langserver-for-pycharm/blob/ac6bf02a/src/main/kotlin/com/insyncwithfoo/pyrightls/configuration/application/ConfigurationService.kt


## [0.3.0] - 2024-04-24
Expand Down
8 changes: 4 additions & 4 deletions src/main/kotlin/com/insyncwithfoo/pyrightls/Project.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ import kotlin.io.path.listDirectoryEntries
import kotlin.io.path.nameWithoutExtension


internal val Project.path: Path?
get() = basePath?.let { Path.of(it) }


private val Project.sdk: Sdk?
get() = ProjectRootManager.getInstance(this).projectSdk


internal val Project.path: Path?
get() = basePath?.let { Path.of(it) }


internal val Project.sdkPath: Path?
get() = sdk?.homePath?.let { Path.of(it) }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ internal class PyrightLSDescriptor(project: Project, private val executable: Pat

companion object {
val PRESENTABLE_NAME = message("languageServer.representableName")
private val LOGGER = Logger.getInstance(DiagnosticsSupport::class.java)
private val LOGGER = Logger.getInstance(PyrightLSDescriptor::class.java)
}

}

0 comments on commit e8bf705

Please sign in to comment.