-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
URI - file system path conversion fixes (#447)
* fixes and improvements to URI - file system path translation tests and implementation basing on https://github.com/microsoft/vscode-uri adds support for UNC paths adds downcasing for Windows drive letters fixes character escaping for paths with URI control characters (?, #, : etc) don't translate non file: URIs to paths * fix invalid URIs int tests file://project/file.ex is a path to /file.ex on project server valid UNIX path URI to /project/file.ex is file:///project/file.ex * reintroduce relative path expand * change dubious logic * fix tests on windows * fix tests * add .formatter.exs in apps * fix formatter tests * fix potential crashes when URI is not in file scheme * fix tests on elixir < 1.10 * fix tests after merge Co-authored-by: Łukasz Samson <[email protected]>
- Loading branch information
1 parent
9fc2188
commit e8c381b
Showing
14 changed files
with
572 additions
and
231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
[ | ||
inputs: [ | ||
"*.exs", | ||
"config/**/*.exs", | ||
"apps/*/{config,lib,test}/**/*.{ex,exs}", | ||
"apps/*/mix.exs" | ||
"config/**/*.exs" | ||
], | ||
subdirectories: [ | ||
"apps/elixir_ls_utils", | ||
"apps/elixir_ls_debugger", | ||
"apps/language_server" | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[ | ||
inputs: [ | ||
"*.exs", | ||
"{lib,test,config}/**/*.{ex,exs}" | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[ | ||
inputs: [ | ||
"*.exs", | ||
"{lib,config}/**/*.{ex,exs}", | ||
"test/*.exs", | ||
"test/support/**/*.ex" | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[ | ||
inputs: [ | ||
"*.exs", | ||
"{lib,test,config}/**/*.{ex,exs}" | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.