Enable diagnostics for TypeScript and update README
This commit is contained in:
parent
32ea947dd0
commit
656ddc34e3
@ -729,6 +729,7 @@ Quick Feature Summary
|
|||||||
### TypeScript
|
### TypeScript
|
||||||
|
|
||||||
* Semantic auto-completion
|
* Semantic auto-completion
|
||||||
|
* Real-time diagnostic display
|
||||||
* Renaming symbols (`RefactorRename <new name>`)
|
* Renaming symbols (`RefactorRename <new name>`)
|
||||||
* Go to definition, find references (`GoToDefinition`, `GoToReferences`)
|
* Go to definition, find references (`GoToDefinition`, `GoToReferences`)
|
||||||
* Semantic type information for identifiers (`GetType`)
|
* Semantic type information for identifiers (`GetType`)
|
||||||
@ -1131,9 +1132,10 @@ Completer API.
|
|||||||
### Diagnostic Display
|
### Diagnostic Display
|
||||||
|
|
||||||
YCM will display diagnostic notifications for C-family and C# languages if you
|
YCM will display diagnostic notifications for C-family and C# languages if you
|
||||||
compiled YCM with Clang and Omnisharp support, respectively. Since YCM continuously
|
compiled YCM with Clang and Omnisharp support, respectively. Diagnostics will
|
||||||
recompiles your file as you type, you'll get notified of errors and warnings
|
also be displayed for TypeScript. Since YCM continuously recompiles your file as
|
||||||
in your file as fast as possible.
|
you type, you'll get notified of errors and warnings in your file as fast as
|
||||||
|
possible.
|
||||||
|
|
||||||
Here are the various pieces of the diagnostic UI:
|
Here are the various pieces of the diagnostic UI:
|
||||||
|
|
||||||
|
@ -100,7 +100,8 @@ CORE_OUTDATED_MESSAGE = (
|
|||||||
'YCM core library too old; PLEASE RECOMPILE by running the install.py '
|
'YCM core library too old; PLEASE RECOMPILE by running the install.py '
|
||||||
'script. See the documentation for more details.' )
|
'script. See the documentation for more details.' )
|
||||||
SERVER_IDLE_SUICIDE_SECONDS = 10800 # 3 hours
|
SERVER_IDLE_SUICIDE_SECONDS = 10800 # 3 hours
|
||||||
DIAGNOSTIC_UI_FILETYPES = set( [ 'cpp', 'cs', 'c', 'objc', 'objcpp' ] )
|
DIAGNOSTIC_UI_FILETYPES = set( [ 'cpp', 'cs', 'c', 'objc', 'objcpp',
|
||||||
|
'typescript' ] )
|
||||||
CLIENT_LOGFILE_FORMAT = 'ycm_'
|
CLIENT_LOGFILE_FORMAT = 'ycm_'
|
||||||
SERVER_LOGFILE_FORMAT = 'ycmd_{port}_{std}_'
|
SERVER_LOGFILE_FORMAT = 'ycmd_{port}_{std}_'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user