[typescript-language-features] Support replacing Go to Definition with Go to Source Definition by preference (#178840)

* Add preference for replacing Go to Definition with Go to Source Definition

* Support replacing Go to Definition with Go to Source Definition by preference

* Predicate call on TS version
This commit is contained in:
Andrew Branch
2023-04-05 14:17:01 -07:00
committed by GitHub
parent 6d96cebbb0
commit 117668153b
3 changed files with 24 additions and 1 deletions

View File

@@ -1210,6 +1210,18 @@
"tags": [
"experimental"
]
},
"typescript.preferGoToSourceDefinition": {
"type": "boolean",
"default": false,
"description": "%configuration.preferGoToSourceDefinition%",
"scope": "window"
},
"javascript.preferGoToSourceDefinition": {
"type": "boolean",
"default": false,
"description": "%configuration.preferGoToSourceDefinition%",
"scope": "window"
}
}
},