summaryrefslogtreecommitdiff
path: root/test/command_callback
AgeCommit message (Collapse)Author
2019-06-17Add support for purescript language server (#2572)Drew Olson
* Add support for purescript language server * Update naming * Add purescript language server tests
2019-06-12Fix checkstyle default configuration.Horacio Sanson
Checkstyle xml configuration is mandatory and not providing one causes the tool to fail with the following error: Must specify a config XML file. Checkstyle itself contains a default configuration as part of its assests named `/google_checks.xml`. Invoking checkstyle with this config works even if such file does not exists in the file system: checkstyle -c /google_checks.xml This should be the default invocation to allow ALE to use checkstyle with zero configuration. Also when a user sets `g:ale_java_checkstyle_config` option, ALE should use it to invoke checkstyle even such file does not exists in the filesystem. This is because checkstyle is able to use configuration files within JAR files defined in the CLASSPATH. The default `/google_checks.xml` is an example of such configuration available within a JAR resource.
2019-06-10Merge pull request #2567 from theevocater/add_reorder_python_importsw0rp
Add support for reorder-python-imports fixer
2019-06-10Merge pull request #2558 from hsanson/fix-javalsp-command-callbackw0rp
Fix javalsp command callback.
2019-06-09Do not set default binary.Horacio Sanson
The default binary "launcher" is too generic and can get mixed with other tools. To use this linter user must explicitly set the absolute path of the launcher path.
2019-06-08Add support for reorder-python-imports fixerJake Kaufman
isort is great, but I've come to prefer reorder-python-imports. The tool has a focus on smaller diffs than isort. reorder-python-imports is also a little smarter than isort which is nice.
2019-06-09Document and test reason-language-serverw0rp
2019-06-08Merge pull request #2551 from laino/eslint-jsonw0rp
Use JSON output for ESLint and fix tsserver column
2019-06-08Add additional option setting for clangtidy linterJonathan Vander Mey
The existing option setting handles setting additional compile flags to pass to clang-tidy. The new option setting added here allows setting additional clang-tidy specific flags to be passed as well. Fixes #2324
2019-06-05Fix javalsp command callback.Horacio Sanson
The command used to invoke the language server is missing some options to include additional java modules. Without these modules the server was not working properly. The correct command can be found in a `launcher` script on the same directory the `java` executable for the language server is found. This commit changes the docs to prefer the launcher script over the java executable. For backward compatibility it also fixes the command invocation in case the java executable is configured.
2019-06-03#2542 - Improve checkstyle project configurationw0rp
2019-06-03Fix tests on Windowsw0rp
2019-06-03Fix #1279 - Run cppcheck differently when modifiedChristoph Koehler
cppcheck is now run without the --project option and from the buffer's directory instead when the buffer has been modified. Saving the buffer will get results by linting the project instead.
2019-06-02Use JSON output for eslint and fix tsserver columnNils Kuhnhenn
2019-05-29Merge pull request #2529 from maxwell-k/terraform_linterw0rp
Add a terraform linter
2019-05-29#2533 - Run phpcs in the directory the file is inw0rp
2019-05-23Add a terraform linterKeith Maxwell
This linter uses the check functionality built into terraform. ALE already has a fixer using `terraform fmt` but this doesn't provide error messages. ALE already has a linter using `tflint` but this requires an extra application to be installed. For example this linter will give a warning that ! is an illegal character in the line below: variable "example" !{} This linter runs the buffer through the command below and parses the output: terraform fmt -no-color -check=true - This commit includes a basic implementation, documentation and tests. The only option is to control which executable is run. Tested with: $ terraform -version Terraform v0.11.13
2019-05-22Fix eclipse.jdt.ls workspace data path.Horacio Sanson
We were setting the -data parameter to the project root but this caused the language server to fail initialization and synch of gradle dependencies. As consequence ALE failed to work fully on gradle projects. This fix sets the workspace to the parent folder of the project root. Normally this corresponds to the correct Eclipse workspace path. When this is not the case, this fix also allows users to explicitly set the absolute path to the workspace via configuration variable.
2019-05-21Fix the eclipselsp testsw0rp
2019-05-21Allow running eclipselsp as installed by system package on GNU/Linux (#2523)Grim Kriegor
* Search eclipselsp jar and config files within system package path * Allow setting an alternate eclipselsp configuration directory * Add test for ale_java_eclipselsp_config_path
2019-05-20Fix a test on Windowsw0rp
2019-05-20Close #2359 - Find compile_commands.json in build dirs for cppcheckw0rp
2019-05-20Try to fix the testsw0rp
2019-05-20Fix #2421 - Use compile_commands.json in build dirs to find rootsw0rp
2019-05-20Fix #2512 - Use -o /dev/null for gcc lintingw0rp
2019-05-19Add support for Erlang dialyzer (#2509)Antoine Gagné
* Add support for Erlang dialyzer * Add an option to specify rebar3 profile In doing so, the use of the `**` wildcard becomes unnecessary.
2019-05-13[linter] Add LSP support for LaTeX via texlabrliang
2019-05-13Make phpstan tests fail lessw0rp
2019-05-12Add test to verify phpstan autoload parameterMikko Pesari
2019-05-08Improve eclipselsp jar search logic.Horacio Sanson
- Set default value to $HOME/eclipse.jdt.ls - Make JAR search regexp more specific. - Allow to set the VSCode extensions folder as ale_java_eclipselsp_path.
2019-05-07Escape phpstan arguments, and update documentationw0rp
2019-05-02Add XO as a linter/fixer for TypeScript files (#2453)Alvin Chan
2019-05-01Better phpstan default configuration (#2444)Julien Deniau
* Use phpstan config file as default whenever possible + report as error
2019-04-18Add g:ale_sh_shellcheck_change_directoryFletcher Nichol
2019-04-17#1791 Set the working directory for cabal and stackIan Shipman
2019-04-15Fix #2440 - Fix the kotlinc command when Maven and Gradle are missingw0rp
2019-04-13Merge pull request #2121 from hsanson/1996-add-support-for-eclipse-jdt-lsw0rp
WIP Fix 1996 - Add eclipse LSP support.
2019-04-13Merge pull request #2394 from harttle/masterw0rp
feat: fecs support for js/html/css lint and format
2019-04-11modify rls testcaserobertking
2019-04-11test: unit test for fecs fixer, fecs commandharttle
2019-04-11Fix 1996 - Add eclipse LSP support.Horacio Sanson
2019-04-10Close #2179 - Add support for goplsw0rp
2019-04-10Adding new linter "cookstyle" for chef recipes (Issue #1187) (#2362)Raphael Hoegger
2019-04-08[lsp] Add Swift / SourceKit-LSP support (#2420)Dan Loman
* [linter] Add LSP support for Swift via sourcekit-lsp
2019-04-07#2132 - Implement feature tests with ale#Hasw0rp
2019-04-07#2132 - Replace command_chain and chain_with with ale#command#Runw0rp
2019-04-02Merge pull request #2340 from svanharmelen/svh/f-gotypew0rp
make `gotype` return all errors
2019-03-29#2395 - Handle empty output for redpenw0rp
2019-03-25Merge pull request #2378 from antew/feature/elm-lsp-linterw0rp
Elm: Support for elm-lsp
2019-03-25Use location of `composer.json` for PHP project path too (#2391)Shahin Sorkh
* move php-langserver "test for .git dir" test-project to its own directory * search for composer.json file in php-langserver first then .git dir * add test for php-langserver composer.json