summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2019-06-19Handle powershell unexpected token with newline (#2588)Jesse Harris
* Newline in unexpected token broke parser * fixed test to properly capture regressions * removed deprecated linter options for powershell
2019-06-19Add & fix tests for added funcsdelphinus
2019-06-19Add support for javalsp configuration options.Horacio Sanson
This MR adds a new configuration variable `g:ale_java_javalsp_config` that allows to configure external dependencies and class paths to the language server. The variable accepts a dictionary similar to the one supported by the [vscode/settings.json](https://github.com/georgewfraser/java-language-server#settings) file. Deprecates: #2561
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-16Merge pull request #2577 from hsanson/fix-checkstyle-defaultsw0rp
Fix checkstyle default configuration.
2019-06-15Raise deoplete source rank to 1000BlahGeek
2019-06-13Merge pull request #2563 from dcyriller/fixer-prettier-glimmerw0rp
prettier: Support experimental languages (Handlebars)
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-10Bump the ALE versionv2.5.0w0rp
2019-06-10Fix #1727 - Replace previoulsy defined linters with matching namesw0rp
2019-06-10Lint on InsertLeave, not in insert mode by defaultw0rp
b:ale_lint_on_insert_leave is now supported as tests need it. These defaults are saner and cause fewer issues for users by default.
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 #2559 from nerdrew/rust-cargo-rendered-detailw0rp
show rendered cargo error in detail for clippy errors
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-06prettier: Support experimental languagesCyrille David
Such as handlebars
2019-06-05Fix #2525 - Convert Windows paths in a Unix environmentw0rp
2019-06-04show rendered cargo error in detailAndrew Lazarus
2019-06-04Make ale_lint_on_save work with b:ale_fix_on_save = 1w0rp
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-03Feature/add ant support (#2539)Andrew Lee
Use ant files to load Java settings too.
2019-06-03Fix #2555 - Remove highlights in lowercase, etcw0rp
2019-06-02Use JSON output for eslint and fix tsserver columnNils Kuhnhenn
2019-06-01Support custom LSP notificationsMartino Pilia
Allow to send custom notification mesages, that expect no response from the server.
2019-05-31Refactor LSP custom request handlingMartino Pilia
2019-05-31Add API for custom LSP requestsMartino Pilia
Implement a function `ale#lsp_linter#SendRequest` that allows to send custom LSP requests to an enabled LSP linter. Resolves #2474
2019-05-30Fix #2544 - Completion positions are off by onew0rp
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-29Merge pull request #2540 from sijad/pgformatterw0rp
add pgformatter fixer
2019-05-29Merge pull request #2543 from hsanson/fix-checkstyle-handlerw0rp
Fix java checkstyle handler.
2019-05-28Fix #2438 - Print a friendly message when the clipboard is not availablew0rp
2019-05-28Fix #2535 - Automatically emit <C-x><C-o> less to prevent <C-o> issuesw0rp
2019-05-28Fix java checkstyle handler.Horacio Sanson
The checkstyle handler is capable of parsing the new and old output formats. Unfortunately there are some particular output messages that matched both the new and old regular expressions: [WARN] whatever:11:7: WhitespaceAround: ''if'' is not followed by whitespace. [WhitespaceAround] This caused ALE to report extra errors since the message was being matched twice, once as a warning and another (incorrect) old formatted error. This MR fixes this by stopping any parsing using the old format regexp is any errors of the new format are correcly parsed. There is no reason to expect checkstyle to output both styles in the same report.
2019-05-27add pgformatterSajjad Hashemian
2019-05-24Merge pull request #2524 from hsanson/2521-fix-lsp-diagnostics-buffer-matchw0rp
WIP Fix HandleLSPDiagnostics buffer match logic.
2019-05-24Fix LSP testsw0rp
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-23Add tests for LSP responsesHoracio Sanson
2019-05-23Add exact file match test to TSServer response handlerHoracio Sanson
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