w0rp
f5aa0e8457
Fix #3307 - Handle compile_commands paths better
...
ALE now converts paths from compile_commands.json files into absolute
paths and prefers matching against absolute file and directory names for
determining which flags to use for files. As a result, parsing
compile_commands.json to determine flags should work for a lot more C
and C++ projects.
2020-08-27 11:44:35 +01:00
w0rp
a955f5dfa8
#3312 - Just check if additionalTextEdits is non-empty
2020-08-27 08:57:12 +01:00
w0rp
396fba7cca
Fix #3312 - Fix a false positive for auto imports
...
ALE was incorrectly detecting completion results from servers such as
rust-analyzer as wanting to add import lines when additionalTextEdits
was present, but empty.
Now ALE only filters out completion results if the autoimport setting is
off, and one of the additionalTextEdits starts on some line other than
the current line. If any additionalTextEdits happen to be identical to
the change from completion anyway, ALE will skip them.
2020-08-27 08:44:43 +01:00
w0rp
3e2abe3f25
#2556 - Support modifiers for formatted filenames
2020-08-24 09:33:07 +01:00
Horacio Sanson
1a7366067a
Merge pull request #3302 from khaveesh/master
...
latexindent: Run fixer from stdin instead of a temporary file
2020-08-24 09:16:35 +09:00
w0rp
ba3dd0d027
Close #2556 - Support filename mapping
...
ALE now supports mapping files between different systems for running
linters and fixers with Docker, in virtual machines, in servers, etc.
2020-08-23 19:55:42 +01:00
Khaveesh N
4bece27bd4
refactor(Fixer): Change latexindent to read from stdin instead of temporary file
...
This is a better strategy as it avoids creating temporary files and the delay that follows
2020-08-21 17:19:22 +05:30
awang
4d42ebc160
Keep -iframework if present in parsed C/C++ flags ( #3057 )
...
* Keep -iframework if present in parsed C/C++ flags
* Add test to make sure -iframework is parsed
Co-authored-by: Alex Wang <ts826848@gmail.com>
2020-08-20 00:09:02 +01:00
w0rp
90abb7e7ef
Try to fix Windows tests again
2020-08-19 01:22:43 +01:00
w0rp
de7b0567b1
Try to fix tests on Windows
2020-08-19 01:10:33 +01:00
w0rp
361027eac6
Fix #3200 - Do not use -fstack-usage from parsed flags
2020-08-19 01:04:08 +01:00
w0rp
e27d4377b5
Merge pull request #3178 from sudobash1/expand_at
...
Fixes #3092 - Implement loading `@file` c arguments
2020-08-19 00:15:34 +01:00
w0rp
5eda1df0a9
Remove features deprecated in previous versions
2020-08-18 23:03:43 +01:00
w0rp
4df352eee5
Fix #3294 - Fix hover off by 1, handle LSP server crashes
2020-08-18 01:48:07 +01:00
w0rp
ac56574b55
Merge pull request #3046 from hsanson/2816-fix-standard-fix-doesnt-work
...
Fix 2816 - Standard fix does not work.
2020-08-17 21:44:19 +01:00
w0rp
eb864730e2
Merge pull request #2906 from elebow/shelldetect-fall-back-to-filetype-if-no-hashbang
...
ShellDetect falls back to filetype if no hashbang (fixes #2886 )
2020-08-17 21:29:16 +01:00
blyoa
d5c1d84230
Add remark-lint for a markdown fixer ( #2836 )
2020-08-17 10:14:38 +01:00
w0rp
5a4fad6172
Fix #2899 - Handle tsserver default import completion
2020-08-14 01:55:54 +01:00
w0rp
2b2403a20d
Merge pull request #3144 from jamescdavis/dont_append_newline_when_noeol
...
don't append a newline to temp file when buffer is noeol and nofixeol is set
2020-08-14 00:32:28 +01:00
w0rp
8151e3e8fa
Merge pull request #2920 from ConradIrwin/prettier-standard-stdin
...
Fix prettier_standard to respect the configuration file
2020-08-14 00:27:41 +01:00
w0rp
0b77766337
Merge pull request #3010 from kevinoid/ps1-powershell
...
Alias ps1 filetype to powershell
2020-08-13 13:45:49 +01:00
Horacio Sanson
8e6c7bff9a
Fix 1695 - Change rubocop fixer to use stdin ( #3230 )
...
* Fix 1695 - Change rubocop fixer to use stdin
* Update test_rubocop_fixer_callback.vader
Co-authored-by: Horacio Sanson <horacio@allm.inc>
Co-authored-by: w0rp <w0rp@users.noreply.github.com>
2020-08-13 11:25:07 +01:00
w0rp
64d4c951ae
Fix #3281 - Stop CursorHold flickering
2020-08-13 02:22:21 +01:00
w0rp
7c4b1d8444
Close #3274 - Handle basic LSP markdown formatting
2020-08-12 22:11:45 +01:00
Nihad Abbasov
d5912b53dd
Restore old behavior of ALEFix command for Rubocop ( #3237 )
...
* Restore old behavior of ALEFix command for Rubocop
Since RuboCop 0.60 ALEFix command stopped to fix all found offenses. This change restores the
previous behavior by allowing rubocop to fix all detected offenses.
* Fix tests
* Allow to configure auto-correct option for Rubocop
2020-08-12 14:04:54 +01:00
w0rp
2237f9b462
#2919 Use compile_commands.json for headers
2020-08-10 02:14:23 +01:00
w0rp
05210846e4
Fix #3278 - Handle UTF-8 in URI encoding/decoding
2020-08-10 02:03:41 +01:00
w0rp
9e1f511003
#3276 - Disable make -n by default again
2020-08-09 20:08:42 +01:00
w0rp
affeed7a87
Enable C flag parsing by default
...
The options for parsing `make -n` and `compile_commands.json` flags
are now enabled by default, so people can start getting better flags
for their files by default.
`compile_commands.json` flags are now preferred over `make -n` results,
to make the options work better by default.
2020-08-09 04:23:32 +01:00
w0rp
6d502233d8
Close #3267 - Add a general autoimport setting
2020-08-09 02:32:47 +01:00
w0rp
8bfb5c6407
Merge pull request #2849 from DonnieWest/excludeTsserverWarnings
...
Allow the user to remove warnings from completions
2020-08-09 01:32:27 +01:00
w0rp
2d174db5b2
Merge pull request #3107 from daliusd/tslintfix
...
Fix tslint fixer not working issue (temporary file not found)
2020-08-07 19:52:18 +01:00
w0rp
f741245f11
Fix #3273 - Handle missing keys in hover information
2020-08-07 12:34:45 +01:00
w0rp
19229e8e27
Close #2472 - Add support for pyright
2020-08-07 12:16:13 +01:00
w0rp
9bdabce8df
Fix #2907 - Handle dictionaries for capabilities
2020-08-07 10:54:38 +01:00
w0rp
667618b399
Merge pull request #3191 from mostfunkyduck/master
...
Fixes govet linter for go 1.13+, with tests
2020-08-07 08:54:17 +01:00
tsjordan-eng
f17b74679f
fix cppcheck for 1.89+, and add column support ( #3030 )
...
* fix cppcheck for 1.89+, and add column support
In cppcheck 1.89 the output changed to be more like GCC. This commit
forces any version of cppcheck to output in that same format. This also
allows for ALE to pick up the linter's column information
* Add parameters to tests. Vader passes.
* Fix c cppcheck for v1.89
2020-08-06 20:50:44 +01:00
Andre Souto
5b3da60cea
Adds hdl_checker LSP support ( #2804 )
...
* Added hdl_checker support
* Added hdl_checker tests
HDL Checker searches for files when no config file is found, which could lead to very long searches when the user is not really on a project setting
2020-08-06 13:20:54 +01:00
w0rp
711c90c523
Merge pull request #3123 from liskin/ccls-build-dir
...
ccls: Detect build dir and set compilationDatabaseDirectory
2020-08-06 13:12:56 +01:00
w0rp
cdd8d38e2f
Fix #3266 Part 2: Fix Harder
2020-08-06 09:36:00 +01:00
w0rp
fa3a927ca3
Fix #3266 - Truncate hover messages for LSP too
2020-08-05 13:46:08 +01:00
w0rp
1bd7b3e4ad
Merge pull request #3196 from jeremija/autoimport-langserver-pr
...
Add autoimport and rename support for langservers
2020-08-05 13:35:48 +01:00
w0rp
acf892c4d1
#1532 - Display hover information on CursorHold
2020-08-04 20:11:49 +01:00
Horacio Sanson
316c7c7372
Merge pull request #3259 from sblask/support-markdownlint-rules-with-multiple-slashes
...
Support markdownlint rules with multiple slashes
2020-08-01 13:22:22 +09:00
Sebastian Blask
fbfeae0587
Support markdownlint rules with multiple slashes
2020-07-31 11:15:13 +12:00
jhlink
84a413350c
fix: Replace hardcoded quotes with ale#Escape
2020-07-30 10:07:53 -04:00
jhlink
d49b06e030
fix: Find proj_options in same dir for astyle
2020-07-30 09:29:33 -04:00
Sebastian Blask
7cada95683
Support markdownlint 0.19.0 and 0.22.0
...
Fixes #2965
2020-07-30 09:57:46 +12:00
Horacio Sanson
5338dbf680
Merge pull request #3231 from jhlink/add-astyle-for-c-formatting
...
Add astyle for C/C++ formatting
2020-07-29 22:08:46 +09:00
jhlink
cef64424ce
style: Resolve lint issue
2020-07-29 01:52:36 -04:00