summaryrefslogtreecommitdiff
path: root/erlang_ls.config
Commit message (Collapse)AuthorAgeFilesLines
* erlang_ls: Look for lib includes in extra_depsMichael Davis2023-02-141-0/+1
| | | | | | | | | | | | | | This fixes ErlangLS include lookups for `include_lib` attributes like ```erl -include_lib("khepri/lib/include.hrl"). ``` when running erlang_ls and building with Bazel. `khepri` ends up in the `extra_deps` directory as a symlink after running `bazel run //tools:symlink_deps_for_erlang_ls`, so this change picks up that `khepri` directory as a lib for `include_lib`s.
* Add "bazel run //tools:symlink_deps_for_erlang_ls"Rin Kuryloski2023-01-051-0/+2
| | | | for symlinking 3rd party deps into a place that erlang_ls can use them
* Be sure to inclued apps/ dirsLuke Bakken2022-05-021-0/+1
| | | | Otherwise erlang_ls complains about missing refs
* QQ: better handle repeated requeues.Karl Nilsson2022-02-281-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | Repeated re-queues are a problem for quorums queues. A consumer that repeatedly re-queues all messages may eventually cause the quorum queue to run out of messages as the log cannot be truncated if messages are not consumed in a fifo-ish order. This change addresses this as follows: All return commands are not send directly to the log but instead are sent to the aux machine which evaluates how the return should be processed. After this decision it will use the new "append" effect to add it to the log as before. If the queue has a delivery_limit configured the return command will be appended as before and the message will be returned to the front of the queue as before. This is safe as eventually the message will be dropped or dead-letter when it reaches it's delivery limit. If the queue has _not_ configured a delivery_limit the return will be turned into a new command that includes the original message in full and will be returne to the back of the queue. This ensure that messages in the queue will be cycled in fifo-ish order and thus snapshots will be taken.
* Tweak more erlang_ls settingsLuke Bakken2021-11-031-2/+5
| | | | | | | | | As suggested in #3647: * Add commented-out section to disable bound_var_in_pattern * Comment-out `elvis` as that is not yet a standard used by the team cc @kjnilsson @mkuratczyk
* Comment-out code_reloadLuke Bakken2021-11-031-2/+2
| | | | If RabbitMQ is not running, `erlang_ls` returns `nodedown` which is shown in your text editor console.
* Add missing application to Erlang LS configAlexey Lebedeff2021-07-111-0/+1
| | | | | `rabbit_prelaunch` lives only in `deps/rabbit/apps/rabbit_prelaunch`, and Erlang LS was not able to find it there.
* erlang_ls config file for better dev experienceerlang_lsMichal Kuratczyk2021-03-121-0/+24