mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-12-27 09:53:08 +08:00
700987dc02
* Implement editor completion for Elixir cells * Add completion tests * Refactor completion * Only extract Markdown docs for now * Fix Elixir version-dependent test * Fix docs matching * Use upcoming Code.cursor_context/2 * Start temporary completion processes under a supervisor * Show Erlang docs in completion items * Update to latest Code.cursor_context * Refactor completion * Fix module completion when alias expands to Erlang module * Remove tests-generated notebook * Show variables and map fields differently * Adjust signatures formatting
6 lines
247 B
Elixir
6 lines
247 B
Elixir
erl_docs_available? = Code.fetch_docs(:gen_server) != {:error, :chunk_not_found}
|
|
|
|
exclude = []
|
|
exclude = if erl_docs_available?, do: exclude, else: Keyword.put(exclude, :erl_docs, true)
|
|
|
|
ExUnit.start(assert_receive_timeout: 300, exclude: exclude)
|