You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The lookup of a command calls PathEnvironmentVariableUtil.findInPath, which IntelliJ 2026.3 schedules for removal #1927
Since #1693, CommandUtils looks up the command of a language server, a debug adapter or an installer's exec task in the PATH of its working directory's environment with PathEnvironmentVariableUtil.findInPath(String, String, FileFilter): in resolveExecutable, and on Windows in findInWindowsPath for a name that has an executable extension. IntelliJ 2026.3 deprecates every findInPath overload for removal. The plugin verifier reports these two calls as the "2 usages of scheduled for removal API" against IU-263.7307.200: "This method will be removed in a future release". Once it is removed, the lookup of a command with a working directory fails with a NoSuchMethodError, so such a language server doesn't start.
The replacements of 2026.3, PathEnvironmentVariableUtil.findFirst and findAll, don't exist in IntelliJ 2024.2, which LSP4IJ still supports. But the lookup needs only getPathDirs, which both versions have and neither deprecates. In 2024.2, findInPath(name, path, null) takes the first directory of getPathDirs(path) that is absolute and a directory, and in which name is a file that can be executed. LSP4IJ can do the same itself, as findInWindowsPath already does for a name without an extension.
#1693 is new in 0.30.0, so this would ship with it.
Activity
fix: run a command's environment customizers once, and look it up wit…