2014-10-04 00:59:20 +02:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
2017-01-26 20:02:08 +01:00
|
|
|
///////<reference path="./Bar.ts" />
|
2014-10-04 00:59:20 +02:00
|
|
|
|
2019-06-13 21:25:02 +02:00
|
|
|
////[|function [|{| "contextRangeIndex": 0 |}Bar|]() {
|
2014-10-04 00:59:20 +02:00
|
|
|
//// // This is a reference to [|Bar|] in a comment.
|
2017-06-28 21:53:12 +02:00
|
|
|
//// "this is a reference to [|Bar|] in a string";
|
|
|
|
//// `Foo [|Bar|] Baz.`;
|
|
|
|
//// {
|
|
|
|
//// const Bar = 0;
|
|
|
|
//// `[|Bar|] ba ${Bar} bara [|Bar|] berbobo ${Bar} araura [|Bar|] ara!`;
|
|
|
|
//// }
|
2019-06-03 23:13:47 +02:00
|
|
|
////}|]
|
2014-10-04 00:59:20 +02:00
|
|
|
|
2019-06-03 23:13:47 +02:00
|
|
|
const [rDef, ...ranges] = test.ranges();
|
2017-01-26 20:02:08 +01:00
|
|
|
verify.renameLocations(ranges[0], { findInStrings: true, findInComments: true, ranges });
|