6 Commits
Author SHA1 Message Date
Dalius Dobravolskas 0c276aac90 Allows to use quickfix for references. (#4033)
* Allows to use quickfix for references.

E.g. following mapping could be used to find references for item under
cursor and put result into quickfix list:

```
nnoremap <leader>af :ALEFindReferences -quickfix<CR>
```

Fixes #1759

* Documentation update.
2022-02-05 21:54:26 +09:00
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
Dalius Dobravolskas 17c0c3c731 Test fix. 2020-11-21 15:49:42 +02:00
Dalius Dobravolskas c098a07d67 Tests added. 2020-11-21 15:49:41 +02:00
Dalius Dobravolskas 2ab46d4b8e Show tsserver hints/suggestions in Ale. 2020-11-21 15:49:41 +02:00
Dalius Dobravolskas 891852de71 Fix tslint fixer not working issue (temporary file not found) 2020-04-15 17:30:19 +03:00