Fix deprecation warning handling. (#260)
* Fix deprecation warning handling. Signed-off-by: Jerome Luckenbach <github@luckenba.ch> * Add Changelog. Signed-off-by: Jerome Luckenbach <github@luckenba.ch>pull/261/head
parent
cac19605e2
commit
3775e7d86e
|
@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- Refactor configuration entries (#247)
|
||||
- Remove 3rd Party references and rename console setting (#247)
|
||||
- Replace deprecated http library (#247)
|
||||
- Add update notice prepared for loing term usage (#250, #258)
|
||||
- Add update notice prepared for loing term usage (#250, #258, #260)
|
||||
- Remove Changelog from .vscodeignore for better marketplace presentation (#253)
|
||||
- Dependency update (#254)
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@ Please take a look at the current extension settings\nand update to the new conf
|
|||
returnValue = this.checkAndGet(config, parameter)
|
||||
break
|
||||
case 'consoleCommand':
|
||||
returnValue = this.checkAndGet(config, OH_CONFIG_DEPRECATED.consoleCommand)
|
||||
returnValue = this.checkAndGet(config, OH_CONFIG_DEPRECATED.karafCommand)
|
||||
break
|
||||
case 'languageserver':
|
||||
switch (parameter) {
|
||||
|
|
|
@ -30,8 +30,8 @@ export const OH_CONFIG_DEPRECATED = {
|
|||
password : 'password',
|
||||
remoteLspEnabled : 'remoteLspEnabled',
|
||||
remoteLspPort : 'remoteLspPort',
|
||||
consoleCommand : 'karafCommand',
|
||||
sitemapPreview : 'sitemapPreviewUI',
|
||||
karafCommand : 'karafCommand',
|
||||
sitemapPreviewUI : 'sitemapPreviewUI',
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue