TypeScript/tests/cases/fourslash/toggleMultilineComment9.ts

30 lines
426 B
TypeScript
Raw Normal View History

2020-07-11 02:44:02 +02:00
// When there's is only whitespace, insert comment. If there is whitespace but theres a comment in bewteen, then uncomment.
//// /*let var1[| = 1;*/
//// |]
////
//// [|
//// /*let var2 = 2;*/|]
////
//// [|
////
//// |]
////
//// [||]
////
//// let var3[||] = 3;
verify.toggleMultilineComment(
`let var1 = 1;
let var2 = 2;
/*
*/
/**/
let var3/**/ = 3;`);