forked from lifeart/ember-language-server
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Support
workspace/didChangeConfiguration
event (lifeart#254)
* remove use of `any` type for initializers * log to root of ELS package This creates a debugging log file at the root of the ELS package, rather than inside the `lib` directory. The previous location was extremely difficult to find, since it’s alongside the compiled TypeScript output. An environment variable has also been added to more easily turn on the file logger. * perform logging to remote console if possible * respond to the `workspace/didChangeConfiguration` event Co-authored-by: Alex Kanunnikov <lifeart92@gmail.com>
- Loading branch information
1 parent
b119586
commit 05d97cb
Showing
4 changed files
with
49 additions
and
21 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 |
---|---|---|
|
@@ -6,3 +6,6 @@ dist/ | |
coverage | ||
inst/ | ||
.nyc_output | ||
|
||
# Debug Logging | ||
debug.log |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export type Initializer = () => void; | ||
|
||
export interface Config { | ||
addons: string[]; | ||
ignoredProjects: string[]; | ||
useBuiltinLinting: boolean; | ||
} |
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