ale/test
Dalius Dobravolskas dca56dd772
ALECodeAction fix: check linter name when searching for nearest error. (#3901)
It is easier to explain this fix with an example:

* tsserver and LSPs ask for error information when you want to fix
  error. tsserver `ts@getCodeFixes` command needs tsserver error code.

* now let's imagine that user has eslint and tsserver in use. Sometimes
  both can report same error in different way.

* Now there is no guarantee which error will come first and if eslint
  error comes first then tsserver will not return code fixes as we are
  passing wrong error code to it.

This fix will return proper error code based on linter.
2021-09-16 22:05:38 +09:00
..
.config/nvim
completion
fix
fixers
handler
linter
lsp
python
script
sign
test-files
util
v_files
smoke_test.vader
test_ale_has.vader
test_ale_info.vader
test_ale_info_to_clipboard.vader
test_ale_lint_command.vader
test_ale_lint_stop_command.vader
test_ale_toggle.vader
test_ale_var.vader
test_alejobstarted_autocmd.vader
test_alelint_autocmd.vader
test_ant_build_classpath_command.vader
test_ant_find_project_root.vader
test_autocmd_commands.vader
test_backwards_compatibility.vader
test_balloon_messages.vader
test_c_flag_parsing.vader
test_checkingbuffer_autocmd.vader
test_cleanup.vader
test_code_action.vader
test_code_action_corner_cases.vader
test_code_action_python.vader
test_codefix.vader ALECodeAction fix: check linter name when searching for nearest error. (#3901) 2021-09-16 22:05:38 +09:00
test_computed_lint_file_values.vader
test_csslint_config_detection.vader
test_cursor_warnings.vader
test_deferred_command_string.vader
test_deferred_executable_string.vader
test_deno_executable_detection.vader
test_disabling_ale.vader
test_dockerfile_hadolint_linter.vader
test_env_function.vader
test_errors_removed_after_filetype_changed.vader
test_filename_mapping.vader
test_filetype_linter_defaults.vader
test_filetype_mapping.vader
test_find_nearest_directory.vader
test_find_references.vader
test_floating_preview.vader
test_format_command.vader
test_format_temporary_file_creation.vader
test_function_arg_count.vader
test_fuzzy_json_decode.vader
test_get_abspath.vader
test_get_loclist.vader
test_getmatches.vader
test_go_to_definition.vader
test_gradle_build_classpath_command.vader
test_gradle_find_executable.vader
test_gradle_find_project_root.vader
test_highlight_placement.vader
test_highlight_position_chunking.vader
test_history_saving.vader
test_hover.vader
test_hover_parsing.vader
test_ignoring_linters.vader
test_jq_linter.vader
test_jsonlint_executable_detection.vader
test_line_join.vader
test_lint_file_linters.vader
test_lint_on_enter_when_file_changed.vader
test_lint_on_filetype_changed.vader
test_linter_defintion_processing.vader
test_linter_retrieval.vader
test_linter_type_mapping.vader
test_linting_blacklist.vader
test_linting_updates_loclist.vader
test_list_formatting.vader
test_list_opening.vader
test_list_titles.vader
test_load_all_linters.vader
test_loclist_binary_search.vader
test_loclist_corrections.vader
test_loclist_jumping.vader
test_loclist_sorting.vader
test_maven_build_classpath_command.vader
test_maven_find_executable.vader
test_maven_find_project_root.vader
test_nearest_file_search.vader
test_nimlsp_project_root.vader
test_no_linting_on_write_quit.vader
test_organize_imports.vader
test_other_sources.vader
test_parse_command_args.vader
test_path_dirname.vader
test_path_equality.vader
test_path_upwards.vader
test_path_uri.vader
test_pattern_options.vader
test_prepare_command.vader
test_puppet_path_detection.vader
test_python_find_project_root.vader
test_python_pipenv.vader
test_python_poetry.vader
test_python_traceback.vader
test_python_virtualenv.vader
test_quickfix_deduplication.vader
test_quitting_variable.vader
test_redundant_tsserver_rendering_avoided.vader
test_regex_escaping.vader
test_rename.vader
test_resolve_local_path.vader
test_results_not_cleared_when_opening_loclist.vader
test_sandbox_execution.vader
test_semver_utils.vader
test_set_list_timers.vader
test_setting_loclist_from_another_buffer.vader
test_setting_problems_found_in_previous_buffers.vader
test_shell_detection.vader
test_should_do_nothing_conditions.vader
test_sml_command.vader
test_socket_connections.vader
test_statusline.vader
test_swift_find_project_root.vader
test_symbol_search.vader
test_temporary_file_management.vader
test_tmpdir_wrapper.vader
test_vim8_processid_parsing.vader
test_windows_escaping.vader
test_wrap_comand.vader
test_writefile_function.vader
vimrc