We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cfc7f5 commit cc0c964Copy full SHA for cc0c964
apps/language_server/lib/language_server/providers/workspace_symbols.ex
@@ -257,13 +257,15 @@ defmodule ElixirLS.LanguageServer.Providers.WorkspaceSymbols do
257
## Helpers
258
259
defp get_app_modules() do
260
+ config = Mix.Project.config()
261
+
262
apps =
- if Mix.Project.umbrella?() do
- for {app, _path} <- Mix.Project.apps_paths() do
263
- app
264
- end
265
- else
266
- [Mix.Project.config()[:app]]
+ case Mix.Project.apps_paths(config) do
+ nil ->
+ config[:app] |> List.wrap()
267
+ map ->
268
+ Map.keys(map)
269
end
270
271
for app <- apps do
0 commit comments